Hi
When running the scheduled tasks daily via a cron job
the statistics files are never processed. We are running version OJS 3.1.2-1
The schedule_tasks → last_run field does get updated to the current date/time.
When I manually change the scheduled_tasks last_run field for plugins.generic.usageStats.UsageStatsLoader
to the previous day, then the statistics scheduled task will load the data.
I checked the UsageStatsLoader logs and I can see the time span between firing the task is 24 hours exactly, sometimes 24 hours and 1 second . I checked the mysql server time and it’s exactly the same as the application’s time right down to the millisecond so the syncing of the time is not the problem.
I think the problem has something to do with the updating of the last_run time for the UsageStatsLoader or in the checking if the UsageStatsLoader should be run.
Is anyone else experiencing this problem? Any possible solutions other then running the scheduled task cron job every second day?
Thanks.
Jeremy