Closed goodjobs-ta closed 1 year ago
Hi there,
I stumbled about a problem when I tried to set up a cron job with the following cron expression in Laravel 9:
30 0 *
This leads to:
Invalid CRON field value 30 at position 1 at /home/...../vendor/dragonmantank/cron-expression/ src/Cron/CronExpression.php:231
Strange to me, as the position of the value 30 should be position 0?
And the expression should be valid.
This expression seems to work:
5 0 *
Any idea what is going wrong here?
TIA and best regards!
Seem like I got smething wrong :-(
Hi there,
I stumbled about a problem when I tried to set up a cron job with the following cron expression in Laravel 9:
30 0 *
This leads to:
Invalid CRON field value 30 at position 1 at /home/...../vendor/dragonmantank/cron-expression/ src/Cron/CronExpression.php:231
Strange to me, as the position of the value 30 should be position 0?
And the expression should be valid.
This expression seems to work:
5 0 *
Any idea what is going wrong here?
TIA and best regards!