LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Crontab log (http://www.linuxquestions.org/questions/linux-server-73/crontab-log-804479/)

Tekken 04-27-2010 06:55 AM

Crontab log
 
Hi,

Is there any way to get the name of the script run by crontab in the cronlogs?

ex: * * * * * /test.sh -- this is the cron job and i want to get the name of the script(test.sh) in the cron log after the job is run.

centosboy 04-27-2010 10:34 AM

Quote:

Originally Posted by Tekken (Post 3949128)
Hi,

Is there any way to get the name of the script run by crontab in the cronlogs?

ex: * * * * * /test.sh -- this is the cron job and i want to get the name of the script(test.sh) in the cron log after the job is run.

should log in /var/log/cron


All times are GMT -5. The time now is 01:41 PM.