[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help on Cron



>Date: Mon, 19 Feb 2007 21:44:28 +0530
>From: "Atul Tyagi" <tyagi atul 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]