Re: Cron

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

 



On December 15, 2003 07:43 am, Mike Koponick wrote:
> Hello everyone,
>
> I'm having a bit of a problem with cron under RH-9. I added a script
> that is written in SH, a very basic script. It runs flawlessly when I
> execute from the command line, however it doesn't execute in the
> /etc/cron.weekly or /etc/cron.daily directories. I have other scripts
> that I have developed and placed in these directories without any issues
> what-so-ever. They run when they are supposed to, etc.
>
> I have checked all the logs and don't see any errors. Is there something
> else I should check?
>
> Thanks in advance,
>
> Mike


Hi Mike,
check the users .bash_profile
When you run a non-login shell like cron, the ~/.bash_profile file is not 
read. If there is something needed in that file, try seting it within the 
script.
-- 
Pete Nesbitt, rhce


-- 
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