Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

zahedkamal87's avatar

Task Scheduling would work if i use 0,15,30,45 in Minute in Cpanel "Cron Job"?

Hi, I've deployed Laravel in a shared hosting. It has some Scheduled tasks. But my hosting company (NameCheap) doesnt let me use * * * * * in cron job. Instead i had to use 0,15,30,45 in place of Minute. I've 2 tasks -

$schedule->call('App\Http\Controllers\ReedController@FromReed')->hourlyAt('15');
$schedule->call('App\Http\Controllers\CastController@FromCast')->dailyAt('17:0');

Above tasks will work?

Thank you

0 likes
1 reply
bobbybouwmann's avatar

Well the scheduler (cronjob) of Laravel is supposed to be run every minute, but every 15 minutes is fine as well as long as the times are correct.

You do miss some nummers in your calls. Make sure they are valid times like 15:00 and 17:00 instead of 17:0

Please or to participate in this conversation.