$logfile = '/var/log/messages';
$logfilehandle = file_get_contents($logfile);
$logfilehandle .= "Running Billing\n";
file_put_contents($logfile, $logfilehandle);
And /var/log/messages is being updated accordingly.
What are the next steps to debug this? Really need to get this working but cannot see where we are going wrong or where to go next???
Please help.
Cheers, Andy.
Hi Adam.It's both good and interesting that you say that because I thought the same too.So I triple checked the cronjob, and looked at the logs for the cron lines being executed.And the cron job is being executed;Jul 28 09:55:01 intermap CRON[1952]: (root) CMD (root /usr/bin/php /opt/observium/poll-billing.php )
But still the same JpGraph error!Have to admit this one is a bit frustrating to figure out what is going on.