Level 122
can you try artisan cache:clear
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
kernel .php file
protected function schedule(Schedule $schedule)
{
$schedule->job(new CampaignPost,'high','sync')->evenInMaintenanceMode()->dailyAt('23:50');
$schedule->job(new ClosePostedCampaign,'high','sync')->evenInMaintenanceMode()->dailyAt('23:30');
$schedule->job(new UpdatePostView,'high','sync')->evenInMaintenanceMode()->everyMinute();
$schedule->job(new CalculateEarningForChannels,'high','sync')->evenInMaintenanceMode()->dailyAt('23:40');
}
I add this command to Cpanel cronjobs.
/usr/local/bin/php /home/daguadscom/api.daguads.com/dagu/artisan schedule:run
but every minute Cpanel send me an email 'no schedule commands are ready to run I get the same response running the scheduler from the project directory
means,
when I run on the directory
PHP artisan schedule: run
the response is
No scheduled commands are ready to run.
it was working locally but when I deploy the error happen .
I run for deployment the following commands
composer install --optimize-autoloader --no-dev
php artisan config:cache
php artisan route:cache
php artisan view:cache
any one can help me
Please or to participate in this conversation.