test if cron is running?
Is there a possibility to test, if cron is running? I tried something with roots
crontab:
>gecko:/home/roman# crontab -l
>MAILTO=root@localhost
>0,18,54,57 13 * * * test -e /usr/sbin/anacron
I thought, that the cron will e-mail me the failure of the line, but nothing
happens. I looked at the syslog, and can't find an error. Cron is definitly
started:
>gecko:/home/roman# ps ax | grep cron
> 494 ? S 0:00 /usr/sbin/cron
> 1233 pts/2 S 0:00 grep cron
Is anacron started by cron? Because anacron is working...
I recently have the problem, that my cron won't start anything which i entering
in the crontab. A Linux without cron is really bad :((
Thanks, for any ideas!
Roman
--
www: http://www.romanofski.de
email: romanjoost@gmx.de
Reply to: