How to update DietPi automatically

I wonder if i need to keep the system updated with apt-get upgrade && apt-get dist-upgrade in order to get the latest security updates and so forth. Or does the DietPi do that by it self? If not, is there a way to automate the process of keeping the system up to date ?

Thanks for a awesome distro!


For apt, you may want to take a look at cron-apt for this:

For DietPi automatic updates, this is not a feature we are planning to implement, due to the possible risk involved in automated updating.

Thank you, i’ll look into that!