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

nnnayeem's avatar

Debug Cpanel Cronjob Error

Hello everyone,

I am trying to run artisan command using the following command in cpanel:

/usr/local/bin/ea-php74 /home2/nemanufacturer/website/core1 artisan schedule:run >/home2/nemanufacturer/website/core1/cron.log 2>&1

This command output empty cron.log file but no job is being processed. In my local environment everything works fine. My kernel.php:

$schedule->command('queue:work --tries=3')->everyMinute()->withoutOverlapping();

If I don't have root and whm access how do I find the error? I have checked error.log file but no error is logged.

0 likes
7 replies
nnnayeem's avatar

@martinbean The queue is not being processed even if I run the following command:

/usr/local/bin/ea-php74 /home2/nemanufacturer/website/core1 artisan queue:work --tries=3 >/home2/nemanufacturer/website/core1/cron.log 2>&1
guybrush_threepwood's avatar
Level 33

Well, for starters you're missing a directory separator between the project folder and the artisan command:

/usr/local/bin/ea-php74 /home2/nemanufacturer/website/core1/artisan queue:work --tries=3 > /home2/nemanufacturer/website/core1/cron.log 2>&1
1 like

Please or to participate in this conversation.