Author Topic: New Backup cron_newbackup.php logs in different timezone  (Read 1030 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
New Backup cron_newbackup.php logs in different timezone
« on: June 09, 2023, 07:12:17 AM »
I noticed that the new backup cron /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php logs are not following server time or php time but logs in a different timezone.

 I tried setting timezone in /usr/local/cwp/php71/php.ini which matches the server time as well mysql time but still see /var/log/cwp/cron_backup.log logging with different timezone

2023-06-08 14:45:01 Backup Initiated
2023-06-08 19:17:55 Backup Finished

15 0 * * * /usr/local/cwp/php71/bin/php -d max_execution_time=100000000 -q /usr/local/cwpsrv/htdocs/resources/admin/include/cron_newbackup.php

cron job was scheduled on 12.15pm but logs shows 14:45. Did anyone face such issues?