Script Works, But Not with CRON
Bob Stockler
bob at trebor.iglou.com
Wed May 5 11:40:07 PDT 2004
On Wed, May 05, 2004 at 01:13:50PM -0400, Tim Fischer wrote:
|
| 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"
|
| Basically, the cron.env is just the cron environment. It's kind of tedious
| to add this to all appropriate cron jobs (we have a ton of jobs that run
| through cron) but once it's in place, it's very easy to maintain.
Thanks, but the few I run are simpler to do within the scripts
(except when I screw up and omit PFDSK).
Bob
--
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).
More information about the Filepro-list
mailing list