Verify that a cron job has completed

Posted by skylarking on Super User See other posts from Super User or by skylarking
Published on 2010-03-30T14:02:38Z Indexed on 2010/03/30 14:13 UTC
Read the original article Hit count: 228

Filed under:
|
|
|

Is there a command that can be run to verify that a users cron job has run successfully?

Platform is Ubuntu 8.04 LTS.

I have scripts in /home/useraccount/bin/

running

crontab -l

while logged in as user results in:

# m h  dom mon dow   command

@hourly /home/useraccount/bin/script_1

@hourly /home/locateruser/bin/script_2

I realize scripts could send email or write to a log with a timestamp, but wondering if there is just a way to verify it ran from the command line.

© Super User or respective owner

Related posts about linux

Related posts about ubuntu