Skip to content

Commit

Permalink
Merge branch 'MDL-79966-main' of https://github.com/sammarshallou/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Nov 23, 2023
2 parents 61c53f0 + ed46ee3 commit be5bafe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/classes/task/scheduled_task.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '*';
Expand Down

0 comments on commit be5bafe

Please sign in to comment.