Or just run a script that runs analog...much easier to test, change
configurations, run multiple reports, etc...

Adrian

-----Original Message-----
From: Dimitri Maziuk [mailto:[EMAIL PROTECTED]] 
Sent: January 23, 2003 11:49 AM
To: [EMAIL PROTECTED]
Subject: Re: [analog-help] Running analog from the cron


On Thursday 23 January 2003 10:13 am, Paul Shackleton wrote:
> Thanks for the reply. Permissions are fine - analog is run as root in
> both instances, and the cron report file to scratch tells me that the 
> logs were read and at what time.

It's not just permissions, whole enviroment is (may be) different for cron
jobs vs. interactive logins. Esp. cwd -- my guess is when you run analog 
from cron, cwd is something like /tmp and it's not finding its config file 
there.

Try running it with -G +gFULL_PATH_TO_CONFIG_FILE, or changing cron job to 
(cd /usr/local/analog/analog-5.24 && ./analog ... yadda yadda).

Dima
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to