[lug] cron shell debian

Jeff Schroeder jeff at neobox.net
Tue Aug 16 16:26:08 MDT 2005


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



More information about the LUG mailing list