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.
Cheers
DietPi-Sync Simple question
Re: DietPi-Sync Simple question
DietPi-Sync uses the cron.daily job.rothchild wrote: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.
Cheers
You can change the time cron.daily runs by editing the crontab file:
Code: Select all
nano /etc/crontab
Code: Select all
25 1 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: DietPi-Sync Simple question
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?
May I submit a feature request that there be a simple setting for this as part of dietpi-sync?
Re: DietPi-Sync Simple question
Thats a great suggestion. +1rothchild wrote: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?
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.
Git: https://github.com/Fourdee/DietPi/issues/118
As for when it will get implemented, not sure, possibly a week. Currently changing all Odroid Images and code to Odroibian (Debian Jessie).
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.