the only other thing I would check is your environment vars (your path
etc).

create a script
--- <cut-here> ---
#!/bin/sh

. /etc/profile

/location/to/analog >>/some/file 2>>/some/file
--- <cut-here> ---

To ensure that you have the same environment vars that you have when you
are logged in as root.

If this STILL doesn't work.  Your cron may be messed up.

- Chuck

ps.  you also may want to change /bin/sh to your root's shell.

Jason Goy wrote:
> 
> On Mon, 6 Aug 2001, Chuck Pierce wrote:
> 
> > I hate to ask, but...   Are you running cron as the same user you
> > normally run analog as?
> 
> Both are run as root
> 
> >Also, have you tried running  analog
> > >>/some/logfile 2>>/some/logfile.  Then reading /some/logfile and
> > seeing what errors might have occurred?
> 
> Yep, I generate a log file as standard. No errors reported.
> 
> >
> > just a thought
> >
> > - Chuck
> >
> > Jason Goy wrote:
> > >
> > > On Mon, 6 Aug 2001, Stephen Turner wrote:
> > >
> > > > On Mon, 6 Aug 2001, Jason Goy wrote:
> > > >
> > > > > A am running Analog 4.90beta4 on a Suse Linux box. Everything is OK if I
> > > > > run from the command line but when I add Analog as a Cron job something
> > > > > odd happens. No errors are produced by Analog or Cron but the report
> > > > > generated is incomplete. In other words, the HTML file generated by Analog
> > > > > is never a finished report.
> > > > >
> > > > > I have looked into this and it seems that the charts are not generated
> > > > > completely under Cron. It seems that one chart file is always 0 (zero) K
> > > > > in size (and this is the next chart to be included in the HTML report if
> > > > > it completed).
> > > > >
> > > >
> > > > Try the latest version, and tell us if it still happens.
> > > >
> > >
> > > Upgraded and still the same result. The problem seems to occur when Analog
> > > tries to generate the browsum.png chart. The chart file is created but
> > > it's just empty.
> > >
> > > Jason Goy
+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to