I just installed anacron, and it automatically updated my /etc/crontab
with the following line:
10 * * * * root /opt/local/sbin/anacron
-s
(actually it was the anacron.sh startup script, but anyway)
And if I read that correctly, it means that cron runs anacron every 10
minutes.
(speaking of which, why isn't man crontab(5) installed on my OS X
10.3.2 box, does anyone know? crontab(1) is there, but not the file
format...)
So after port install, you need to:
a) create /opt/local/etc/anacrontab (based on the sample file in the
same directory), and
b) start it with "sudo /opt/local/etc/rc.d/anacron.sh start"
Hope this helps...
--- Anthony Agelastos <iqgrande@xxxxxxx> wrote: > Hello and thank you
for your assistance. I installed anacron and read
>
> through the generic README (/opt/local/share/doc/anacron/README I do
> believe) for anacron and, outside of modifying /etc/crontab, what
> else
> does DP recommend me to do to get anacron working? I mention this
> because the README makes light of me having to modify a startup boot
> script to invoke anacron when I know a DarwinPortsStartup folder was
> added to /Library/StartupItems. Does DP also recommend only setting
> anacron to run at a certain time (say 08:30) or every hour (say
> xx:10)?
> Thanks. I did do a quick search and did not find anything (through
> the
> archives and through Google), so please forgive me if my question is
> answered somewhere and it eluded me.
>
> -Anthony
>
> _______________________________________________
> Darwinports mailing list
> Darwinports@xxxxxxxxxxxxxx
> http://www.opendarwin.org/mailman/listinfo/darwinports
Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
|