mirror of
https://github.com/moodle/moodle.git
synced 2025-04-15 13:33:52 +02:00
Merge branch 'MDL-79966-main' of https://github.com/sammarshallou/moodle
This commit is contained in:
commit
be5bafef04
@ -80,9 +80,10 @@ abstract class scheduled_task extends task_base {
|
||||
const FIELD_DAYOFWEEK = 'dayofweek';
|
||||
|
||||
/**
|
||||
* Time used for the next scheduled time when a task should never run. This is 3000-01-01 00:00 GMT.
|
||||
* Time used for the next scheduled time when a task should never run. This is 2222-01-01 00:00 GMT
|
||||
* which is a large time that still fits in 10 digits.
|
||||
*/
|
||||
const NEVER_RUN_TIME = 32503680000;
|
||||
const NEVER_RUN_TIME = 7952342400;
|
||||
|
||||
/** @var string $hour - Pattern to work out the valid hours */
|
||||
private $hour = '*';
|
||||
|
Loading…
x
Reference in New Issue
Block a user