My PHP Server Monitor is is running fine. but the history graph will not update if I use the Cron command as indicated in the manual. It sertally execute the command withing the [cron/status.cron.php] directory but the wepsite will not update after the cron task execute as it does when i hit the updated button on the web.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have double check. The data base is getting the the data every time the Cron task is been executed. But the web interface ind not been updated nor the "satus" page nor the "server details on the graphy".
So. the quiestion no is: What is the diference on executing the "update" button vs the Cron command?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think I've found the error I'm having here. && this is the diference betwen the Cron and the Web updated scripts is related to dates (may be time zones).
If you see this piece of my screenshot you wil note a lot of diference on time even tho both task where manually executed almos at the same time. But the db record show 8 hours over on time the from the scrip executed by Cron. http://bit.ly/2hCM8x8http://bit.ly/2gyx2Ue
So.. The quiestion has changed again>> Is there a way to update the time zone to the cron script?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SOLVE>>>>
I have found the error. It was related to TIMTE_ZONE erro.
At the "bootstrap.php" file by line commented this line and add another with my current time zone... Thab been 'America/Los_Angeles' as you can tell by the next code.
My PHP Server Monitor is is running fine. but the history graph will not update if I use the Cron command as indicated in the manual. It sertally execute the command withing the [cron/status.cron.php] directory but the wepsite will not update after the cron task execute as it does when i hit the updated button on the web.
This may be a bug in PHP Server Monitor?
I have double check. The data base is getting the the data every time the Cron task is been executed. But the web interface ind not been updated nor the "satus" page nor the "server details on the graphy".
So. the quiestion no is: What is the diference on executing the "update" button vs the Cron command?
I think I've found the error I'm having here. && this is the diference betwen the Cron and the Web updated scripts is related to dates (may be time zones).
If you see this piece of my screenshot you wil note a lot of diference on time even tho both task where manually executed almos at the same time. But the db record show 8 hours over on time the from the scrip executed by Cron.
http://bit.ly/2hCM8x8 http://bit.ly/2gyx2Ue
So.. The quiestion has changed again>> Is there a way to update the time zone to the cron script?
SOLVE>>>>
I have found the error. It was related to TIMTE_ZONE erro.
At the "bootstrap.php" file by line commented this line and add another with my current time zone... Thab been 'America/Los_Angeles' as you can tell by the next code.
Last edit: Robby 2016-12-14