CronExpression::isDue( string|DateTime $currentTime = 'now' )
Determine if the cron is due to run based on the current date or a specific date. This method assumes that the current number of seconds are irrelevant, and should be called once per minute.
Description Description
Parameters Parameters
- $currentTime
-
(Optional) (optional) Relative calculation date
Default value: 'now'
Return Return
(bool) Returns TRUE if the cron is due to run or FALSE if not
Source Source
File: packages/action-scheduler/lib/cron-expression/CronExpression.php