Re: Cron

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

 



On December 17, 2003 07:58 am, Mike Koponick wrote:
> Pete,
>
> I left out the "#!/bin/bash" by accident. It is there.
>
> The 000backup.sh file has a couple of csh scripts. It's no different
> than other scripts that I mentioned. As for running the script as root,
> the answer is yes, it does.
>
> It seems funny to me that I don't see any errors either in the root
> e-mail, or in any of the logs.
>
> I may run it directly out of the crontab config file to see if that
> produces any errors in the logs.
>
> Thanks!
>
> Mike
>
>
>



Mike,
the only thing that comes to mind is that the script called from within 
000backup.sh has some environment that is not loaded when starting a 
non-interactive shell. Have a look at the /etc/profile (and whatever csh 
uses) for something that is utilized in the script and may need to be added.
-- 
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