cron job not starting Debian

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
Subject: 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