cron job not starting Debian

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: der.hans
Dátum:  
Tárgy: cron job not starting Debian
Am 13. Aug, 2003 schw=E4tzte Jim so:

> I have a cronjob that never seems to start at the given time what is the
> best way to determine if it actually starts and if not why?


Put in a job that produces output. That output should be sent to the user.

Have the job also touch a file or echo the date to a file.

*/5 * * * * /bin/date >>/tmp/crondate && echo "`/bin/date` from cron"

Don't know if that'll work, but I think it should.

man 5 crontab
man crontab

Set MAILTO if you want mail to go to a specific account. Is local mail
working on that box?

I use 'crontab -e' to edit my crontabs.

ciao,

der.hans
--=20
#  https://www.LuftHans.com/    http://www.AZOTO.org/
#  "The reasons for my decision to quit were myriad, but central to the
#  decision was the realization that there are two kinds of companies:
#  Good ones ask you to think for them.
#  The others tell you to think like them." -- Benjy Feen