DietPi-Sync Simple question

How do I adjust the time that DietPi-Sync runs my file sync operation?

I’d like to set it up so that it runs overnight when I’m likely not to using the machine.


DietPi-Sync uses the cron.daily job.

You can change the time cron.daily runs by editing the crontab file:

nano /etc/crontab

Example 1:25am (Jessie):

25 1    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )

Thanks Fourdee, I’ll give it a go.

May I submit a feature request that there be a simple setting for this as part of dietpi-sync?

Thats a great suggestion. +1

I will add a feature to DietPi-Config that allows you to set the values in crontab. This will allow you to set when the following cronjobs start hourly/daily/weekly/monthly. DietPi-Sync uses cron.daily.


As for when it will get implemented, not sure, possibly a week. Currently changing all Odroid Images and code to Odroibian (Debian Jessie).