Hi,
I finally fixed this whilst debugging something else.
It seemed that only a part of my crontab stopped working after an upgrade of Linux.
Anyway, just incase someone else is also stuck here, check the example cronjob is correct and for your distribution etc.
Cheers, Andy.
On Fri, Jul 29, 2016 at 5:39 PM, Andy Lemin andy@brandwatch.com wrote:
Is anyone else having this problem?
Our billing poller is definitely running as I added the following to the php files;
$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.
On Thu, Jul 28, 2016 at 9:59 AM, Andy Lemin andy@brandwatch.com wrote:
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.