Re: growisofs within cron
> All in all, those cron scripts do ensure that HOME and EUID
> are set, and set PATH to a content as in an interactive
> shell.
No! PATH only contains minimal number of directories, anything else
would be insane and a free-for-all-hackers.
The smart way to go about this is to run env from within a cron script,
saving its output to some file. This is the cron evironment. Modify as
needed. For testing, I've written a script envreload which clears the
current environment, loads the one from the given file (produced by
eg env), and runs the given command.
Volker
--
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings to me.
Reply to: