On Wed, Sep 21, 2016 at 10:02:19AM +0200, Patrick Dupre wrote: > and in my /etc/anacrontab > 1 5 cron.daily nice run-parts /etc/cron.daily > 7 25 cron.weekly nice run-parts /etc/cron.weekly > > but > > anacron is executed on the Monday ! > N 44 Monday root (793) Backup > > N 45 Monday root (818) Backup > > N 46 Monday Anacron (2K) Anacron job 'cron.weekly' on > teucidide > > > While in fc22, with the same configuration, crond and anacrond were executed > on time > (Saturday)
If you care about the *particular* time that a job runs, rather than just wanting to make sure it gets run once in a certain period, cron.daily and cron.weekly are not for you. Instead, drop a file in /etc/cron.d with the traditional 0 4 * * sat root yourcommand.sh syntax (in that example, to run yourcommand.sh as root at 4am on Saturdays). -- Matthew Miller <mat...@fedoraproject.org> Fedora Project Leader _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org