oliviervalentin / moodle-report_coursemanager

Course Managet is a report tool for Moodle for helping teachers to clean and manage their courses and contents. It is based on an automatic task which calculates reports, that are displayed in a general dashboard and directly in courses.
GNU General Public License v3.0
9 stars 6 forks source link

Default execution times for scheduled tasks are incorrectly set #71

Open Astor-Bizard opened 4 months ago

Astor-Bizard commented 4 months ago

Default execution times for scheduled tasks (defined in db/tasks.php) are incorrectly set: Defining 'hour' => '2', 'minute' => '*' makes the task execute every minute between 2:00 and 2:59. I believe you meant to execute it once per day at night, so it should be 'hour' => '2', 'minute' => '0' (or 'minute' => 'R' for randomly selected minute).