Nono's picture

Hi, i need change time for TKLBAM-backup is executed. Now, is very late and distorts network normal usage.

 

 

Forum: 
Tags: 
Nono's picture

I found solution.

Edit file /etc/crontab

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )

 

Column m and h specifies minutes and hours offset from 00:00.

 

Jeremy Davis's picture

Just be aware that adjusting that will change the time that all the cron daily jobs run (not just TKLBAM). That probably won't be an issue, but it's important to realise (as perhaps it might?)

Unless you have particularly high network usage at 6.25 am then another option could be to just set your timezone?! By default TurnKey uses UTC time (so the cron job will run at 6.25am UTC). However, if you update to use your time zone, then it will run at 6.25am local time.

The easiest way to do that is from the commandline:

dpkg-reconfigure tzdata

And follow the prompts...

Add new comment