[lug] cron shell debian
Shannon Johnston
sjohnston at cavionplus.com
Tue Aug 16 16:24:26 MDT 2005
I agree with this. This allows you to move the script to different
systems and not have to reset PATH every time.
Shannon
On Tue, 2005-08-16 at 16:26 -0600, Jeff Schroeder wrote:
> Gary asked:
>
> > As a policy, is it better to set the
> > PATH within the script rather than in the crontab?
>
> I think it's all a matter of personal preference. My preference happens
> to be making the script entirely self-contained, so I drop that kind of
> stuff in there rather than the cron configuration. This allows me to
> have more control over what the script does, and honestly it's good
> when I'm looking at a script I wrote two years ago and wondering what
> the heck I was doing. :)
>
> $0.02,
> Jeff
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
More information about the LUG
mailing list