I've been faced a problem. But, before i explain the problem, here are my Moodle version and the server detail :
Moodle : 3.6.4+ (Build: 20190628)
- Linux - Ubuntu 18.04
- Apache/2.4.18 (Ubuntu)
- MySQL 5.7.26-0ubuntu0.16.04.1
- PHP 7.2.12-1+ubuntu16.04.1+deb.sury.org+1
Lately, i downgraded my Moodle from 3.7 to 3.6 by force. (Because i don't have any backup, so i doing it by force). i replaced all the 3.7 files by 3.6 files, change the version in the version.php and moodle database, and so the moodle could run properly. Everything work well, except for the Scheduled Task.
The Cron Job run well, but only executed one job. Just like this :
and the next run of task in the Scheduled Task List just show ASAP. Here the screenshot :
There is no error message, even when i activated debugging mode. I couldn't upgrade to 3.7, because i've faced different issue, so i thought i back to 3.6.
The issue i faced on 3.7 is when i want to grade some file assignment and the file won't shop up, just loading animation. I will discuss it on different topic, so just ignore this note.