man-u-l
1 month ago
536
2
Laravel

Laravel scheduler run on first wednesday on each month at 9pm

Posted 1 month ago by man-u-l

I am moving all my cron jobs to laravel scheduler and I am super happy about how awesome this is and now my cron jobs are part of my source control.

One particular job need to be ran on the first wednesday of each month at 9pm, with cron I just had it run each wednesday at 9pm and inside my script I would do a check to see if that wednesday was the first of the month, but with Laravel I see there are plenty of options to do this, I just dont know how to combine them to get that same date.

Thanks!

Please sign in or create an account to participate in this conversation.