CoreBOSBB
Error in scheduled reports cron - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18)
+--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4)
+--- Thread: Error in scheduled reports cron (/showthread.php?tid=1176)



Error in scheduled reports cron - Guido1982 - 07-24-2018

My cron gives me the following result:

[ERROR]: ScheduleReports - cron task execution throwed exception.
DateTime::__construct(): Failed to parse time string (1970-01-01 25:43) at position 11 (2): Unexpected character

The time clearly seems off. Does anyone have any experience with this problem?


RE: Error in scheduled reports cron - Mikel - 07-30-2018

I have tested the scheduled report and it seems to be working correctly. the error message seems to be due to the odd hour (25) and looks more like an incorrect field value issue than something wrong with the reports.
Can you generate this report on screen normally?
What type of field holds this time?
How did it get an hour of 25?

thanks


RE: Error in scheduled reports cron - Guido1982 - 07-31-2018

To be honest I posted this as a reminder-to-self partially. I can debug this some more, the 25 seems to be the problem without a doubt, but I'll get back here if I know more.