I'm using PHP Laravel 9 framework and cyberpanel is installed on my server. Operating system is Ubuntu 20.04.
I have created cron job in my webapp. It is working fine using SSH but after setting cron job on panel it is not working.
Command path as below:
/usr/local/lsws/lsphp80/bin/php /home/(domain_name)/public_html/(project_directory)/artisan Create:Mailforemail > /dev/null 2>&1
I have tried to change the command path as domain specific and root directory but did not work for me.
I have also tried to restart cron service but it did not work also.