On 3 December 2016 at 12:54, Patrick Dupre <pdu...@gmx.com> wrote:
> Hello,
>
> using anacrontab weekly:
> This is what I have in my anacrontab file:
> 7       15      cron.weekly             nice run-parts /etc/cron.weekly
>
> It seems that it run will be run 7 days after the date in
> /var/spool/anacron/cron.weekly
>
> Can I change this date ?

Yes, you can, but it's not proven very reliable to do so in my
previous experience.  Not sure if it's still the case, but Anacron
seemed to decide when the week starts and essentially reset the
contents of the spool file on each reboot, so if you have anything
day-of-week critical in your weekly cron be sure to test a reboot
cycle before going live.

Anacron is nice for laptops and desktops that are often powered down
when crons normally run, but if your system is up 24/7, or you can at
least assume reasonable hours of operation, then it's much better -
and far more reliable - to skip Anacron (I use the "cronie-noanacron"
package) and set the times of crons yourself.

-- 
Andy

The only person to have all his work done by Friday was Robinson Crusoe
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
  • anacron Patrick Dupre
    • Re: anacron Andy Blanchard

Reply via email to