Script Works, But Not with CRON
Fairlight
fairlite at fairlite.com
Wed May 5 10:21:35 PDT 2004
On Wed, May 05, 2004 at 01:13:50PM -0400, Tim Fischer, the prominent pundit,
witicized:
> I ran into a similar situation recently. By simply throwing an environment
> setting script into cron (before each job) it takes care of it in one place
> that is easily maintainable. For instance:
>
> 20 5 * * 1-5 sh -c ". /u/cron.env; /u/job1"
Something about this confuses me.
If you set the environment from the child script cron.env, its settings
should never propogate back to the parent level at which job1 is running.
You're saying it does?
mark->
--
Bring the web-enabling power of OneGate to -your- filePro applications today!
Try the live filePro-based, OneGate-enabled demo at the following URL:
http://www2.onnik.com/~fairlite/flfssindex.html
More information about the Filepro-list
mailing list