Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I schadule a job to execute 20 minutes ago.how can I check if the system tried to execute?
whan the job starts from the command line (without crontab) another terminal window is open and than the program starts , after I edited crontab I waited and nothing happend.
Cron will never put anything on the display unless you use something like 'wall' in your cron script.
Are you redirecting output to a log file or anything? it wouldn't be hard to add a line at the bottom of your script that does something like:
date +"%D %r `echo Cron completed`" >> /tmp/cron_job.log
Then you could check /tmp/cron_job.log and it would tell you when it finished.
Location: Somewhere in London, riding the Underground
Distribution: Debian testing/main (2.6.23)
Posts: 272
Thanked: 0
Usually you can tell when a cron job is active, during periods of inactivity - any performance meters that are running will show the spike in %CPU, HD and general process activity. I think you can configured anacron or vixie-cron to send root an intra-system message when a job completes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.