LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Monitoring the status of process run by crontab. (https://www.linuxquestions.org/questions/linux-newbie-8/monitoring-the-status-of-process-run-by-crontab-737130/)

madg 07-02-2009 02:01 AM

Monitoring the status of process run by crontab.
 
Hello,
I am scheduling some processes to be run at particular instance of time using crontab.
Is there any way in linux to monitor the status of those processes(.i.e whether those processes have run successfully or not) in crontab..??

Thanks and Regards,
Madhu

unSpawn 07-02-2009 04:26 AM

On successful completion of the process (exit 0) you would notice nothing. On error cron should send email to the address configured in the crontab MAILTO variable or crontab owner.

geek.ksa 07-02-2009 05:33 AM

from within crontab, why don't you direct processes std out and err to some file . e.g. /var/log/cron and track what your processes do.
(Assuming that these processes have some verbose logging features)


All times are GMT -5. The time now is 05:48 PM.