Re: Cron vs. Command Line Problems

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

 



On Sat, 2004-08-07 at 11:21, David Kramer wrote:
> > What am I missing?
> 
> What you are missing is that both logrotate and cron are not you.  More 
> specifically, they do not have your environment variables, including $PATH. 
> You must either set the PATH at the top of the crontab file, or use hard-coded 
> paths for every file you specify.  I recommend the latter.
> 
> Trick #2: remember to redirect stdout and stderror of new crontab entries you 
> are testing out, so you can see error messages.
> 
Well put. Thanks.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux