mahdizakizadeh's avatar

Laravel scheduling at a set of dates

Hello guys, I want laravel to run a code in jalali months, But laravel does not work jalali calendar But the good thing is 1st day of every month in jalali calendar is fixed in every year and I have 12 days that I want to run the code. So I have no idea how to do this. I found cron function that uses a expression but still I dont know how to do this. Please help me guys :((

0 likes
3 replies
mahdizakizadeh's avatar

Well my problem is not converting those dates. I need a way to run a command on a set of dates that I have (exp: 21 April & 22 May ... in every year). but I dont know how to do that with laravel scheduling functions

bobbybouwmann's avatar

What I meant was that you calculate the correct dates and based on those dates fire something in your scheduler ;)

Please or to participate in this conversation.