4 Nov
2006
4 Nov
'06
12:21
On Saturday 04 November 2006 13:07, Darryl Gregorash wrote:
That's in the 9.3 man page also, exactly as you quoted it, but nowhere is there any mention of any environment variable being set within a cron command. The only mention of the environment is that a variable may be set as a separate cron entry.
I'm not sure it should be in cron's man page. "env" is a program you run, and cron's man page tells you how to run programs. The fact that the "env" program happens to set an environment variable and then execute another program is irrelevant to cron, it just runs it like any other program. You also have the shell syntax VAR=value command which is standard bash, setting the variable VAR to the value for that command