You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Faced out problem when did mistake in weeklyOn() method, just forgot to specify $day param: ->weeklyOn('11:25'). Such call was converted to 0 0 * * 11:25 and it's invalid format.
And as a result all tasks after this didn't work at all! And there were no visible errors, it stop somewhere under the hood of cron (I guess).
Would be very useful to have auto-check of cron expression and trigger error if there is a problem and don't run problematic task.
Thanks. :)
The text was updated successfully, but these errors were encountered:
Actually, I've tested it and proper exception [InvalidArgumentException] Invalid CRON field value 11:25 at position 4 is shown, what version of Crunz do you use?
Faced out problem when did mistake in weeklyOn() method, just forgot to specify $day param:
->weeklyOn('11:25')
. Such call was converted to0 0 * * 11:25
and it's invalid format.And as a result all tasks after this didn't work at all! And there were no visible errors, it stop somewhere under the hood of cron (I guess).
Would be very useful to have auto-check of cron expression and trigger error if there is a problem and don't run problematic task.
Thanks. :)
The text was updated successfully, but these errors were encountered: