Re: Help on Cron

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

 



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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux