[PLUG] A Question for Perl Divers

Rich Shepard rshepard at appl-ecosys.com
Tue Jan 30 17:36:29 UTC 2007


On Tue, 30 Jan 2007, Russell Senior wrote:

> The environment in which it ran.  That is, the $PATH or equivalent may be
> different between the context in which your mid-night cron job ran, and
> the context in which you ran it manually.  That seems the most likely
> explanation.

Russell,

   Oh! OK. The cron job calls the script, /etc/cron.daily/1pflogsumm. That
then invokes /usr/local/bin/pflogsumm. I tried invoking the latter directly.
But, why would this make Date::Calc not found in the @INC? Are those include
directories different based on how the application is called?

Many thanks,

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |          Accelerator(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863



More information about the PLUG mailing list