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/
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.
ps -ef|grep cron
... and it shows
root 4358 1 0 Mar12 ? 00:00:00 /usr/sbin/cron
Not sure if this indicates it is running the jobs though....