[rrd-users] Re: One other quickie :-D

Anders Ringaby julius at softwell.se
Tue Jun 26 12:42:05 MEST 2001




If you have tried absolute path names or setting
the environment variable PATH ( for the cron job ),
and it still doesn't work, then check this:

- Is the cron job running as the same user as when you
  are on line ( what about permissions ) ??

- Is the time stamping ( to RRD ) different when cron
  is running the job ??

- Have you checked the cron-users unix-mail ( through
  the command "mail" ) ?? Any output ( like error messages )
  that is not redirected elsewhere will be sent as unix
  mail to the owner ( unix-user ) of the cron job.

Anders Ringaby

On Mon, 25 Jun 2001, Mohammed Burney wrote:

> 
> Hello all,
> 
> Thanks to those of you that replied to my question. It really helped, heck
> it fixed my problem :-)
> My other problem that I wasn't able to get my perl scripts that update the
> RRD to run thru cron. I tried 2-3 different approaches.
> 
> 1) Tried using the 'use RRDs' method, and invoke the updates as Perl
> functions
> 2) Make a system call to update the RRD `rrdtool update ...`
> 3) use pipe to update the RRD "./perl_script | rrdtool -
> 
> All of these methods work independently, meaning that if I run them thru the
> command line, I have no problems. It is just when I run them thru cron that
> nothing happens. I'm running as root, in Mandrake 7.2 from the / directory.
> I asked around and people told me to try and give absolute path names, which
> I did, and still nothing happened.
> 
> Thanks once again :-)
> Mohammed
> 
> 
> --
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> 


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list