Page 1 of 1

[Answered] cron restart all services

Posted: Sun Jan 27, 2019 3:27 pm
by neno20st
Hi all

How to write cron job to restart all dietpi services at 1 hour in the morning using crontab -e ?

Re: cron restart all services

Posted: Sun Jan 27, 2019 3:39 pm
by MichaIng
Add the line:
* 1 * * * /DietPi/dietpi/dietpi-services restart

This restarts services every day at 01:00 am system time.

Re: cron restart all services

Posted: Sun Jan 27, 2019 3:42 pm
by neno20st
Thanks