I have used vixie-cron and anacron together for years.  I put the
scripts for anacron in /etc/anacron.{daily, weekly, monthly}
so they were separate from the cron scripts in
/etc/cron.{daily, weekly, monthly} (hourly irrelevant for this)

[[ actually I was even more nonstandard and put them in
   /local/etc/anacron-{...} but that is another story ]]

I want to be more standard with a new installation so I am following the
anacron documentation and putting the anacron scripts in
/etc/cron.{daily, weekly, monthly}.

I am then supposed to "comment [these] jobs out of their crontab files"

Am I correct that I comment out cron.daily by commenting out the line

  9  3  * * *   root    rm -f /var/spool/cron/lastrun/cron.daily

from /etc/crontab.  I think this "has to work" but the code in
/usr/sbin/run-crons is a little tricky and I want to be sure.

thanks,
allan

Reply via email to