Help on Cron

m.roth2006 at rcn.com m.roth2006 at rcn.com
Mon Feb 19 16:29:08 UTC 2007


>Date: Mon, 19 Feb 2007 21:44:28 +0530
>From: "Atul Tyagi" <tyagi.atul at gmail.com>  
>>
>> For last 2 days, i am trying to run certain shell script from cron. But ,
>> it just refuses to run from the cron. The same cron entry runs perfectly on
>> my Other linux box. i have give the required permissions for the shell
>> script.
>>
>> cron by default send out an email to the user who starts it. Check the
>mails of the user. It may be a good start point for troubleshooting.

Another thing to do is have the shell script dump the environment to a file. Remember, cron has the most minimal environment possible, and you may have something hardcoded that isn't on the second box.

   mark




More information about the redhat-list mailing list