Re: cron as root

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

 



On Tue, 4 Feb 2003, Jeffrey Ross wrote:

> I created a crontab for root to run a few scripts and upon execution I 
> get the following error:
> 
> /bin/sh: line 1: anaconda-ks.cfg: command not found
> 
> I'm betting I'm missing something simple...
> 

I'm betting that you have some kind of a 'glob'-ing problem with your script.

Try setting the noglob option at the top of your script.  It seems to be
glob-ing roots home directory, where the text file anaconda-ks.cfg lives..

set -o noglob



-- 
denice.deatrich @ epfl.ch, DSC / LTHC-LTHI, E.P.F.L.   PH: +41 (21) 693 76 67
<*> This moment's fortune cookie:
Polymer physicists are into chains.




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux