Skip to content

Commit

Permalink
Clarify behaviour of $start param for CronSchedule
Browse files Browse the repository at this point in the history
  • Loading branch information
thenbrent committed Aug 6, 2019
1 parent c5eeb0a commit 12c8cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/schedules/ActionScheduler_CronSchedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ActionScheduler_CronSchedule extends ActionScheduler_Abstract_RecurringSch
* Wrapper for parent constructor to accept a cron expression string and map it to a CronExpression for this
* objects $recurrence property.
*
* @param DateTime $start The date & time to run the action.
* @param DateTime $start The date & time to run the action at or after. If $start aligns with the CronSchedule passed via $recurrence, it will be used. If it does not align, the first matching date after it will be used.
* @param CronExpression|string $recurrence The CronExpression used to calculate the schedule's next instance.
* @param DateTime|null $first (Optional) The date & time the first instance of this interval schedule ran. Default null, meaning this is the first instance.
*/
Expand Down

0 comments on commit 12c8cd8

Please sign in to comment.