4 Nov
2006
4 Nov
'06
09:51
On Sat, 04 Nov, 2006 at 03:07:50 -0600, Darryl Gregorash wrote:
On 2006-11-04 01:55, Jon Clausen wrote:
<snip> IINM it may all be summarized to something like;
If you want to set a variable for a single command in the crontab, without affecting subsequent commands, use
- * /path/to/unaffected
- * env VAR=val /path/to/command
- * /path/to/othercommand
Well, it certainly makes sense that the environment setting applies only to that one command, and the following is quite correct (can't recall just where I read that, certainly not the man page :-) )
Indeed. One more example of manpages' terseness, I guess :P /Jon -- YMMV