My invoice ninja (version 5.5.32-C98) is hosted on a shared hosting. Everything was working fine until about 2 months ago when recurring invoice notifications stopped working.
I spent lot of time researching this problem but can’t figure it out. I did upgrade to the latest version, changed php version to 8.1 with memory increase. However, the problem persist. I hope someone can guide me in the right direction.
Here’s what I have in the shared hosting crontab:
MAILTO="[email protected]"
SHELL=“/bin/bash”
-
-
-
-
- cd /home/bargainp/portal.bargainpbx.com && /opt/cpanel/ea-php81/root/usr/bin/php artisan schedule:run >/dev/null 2>&1
-
-
-
-
-
-
-
- cd /home/bargainp/portal.bargainpbx.com && /opt/cpanel/ea-php81/root/usr/bin/php -d register_argc_argv=On artisan schedule:run >/dev/null 2>&1
*/5 * * * * cd /home/bargainp/portal.bargainpbx.com && /opt/cpanel/ea-php81/root/usr/bin/php -d register_argc_argv=On artisan queue:work --stop-when-empty
30 5 * * * cd /home/bargainp/portal.bargainpbx.com && /opt/cpanel/ea-php81/root/usr/bin/php artisan ninja:send-invoices
45 5 * * * cd /home/bargainp/portal.bargainpbx.com && /opt/cpanel/ea-php81/root/usr/bin/php artisan ninja:send-recurring
45 6 * * * cd /home/bargainp/portal.bargainpbx.com && /opt/cpanel/ea-php81/root/usr/bin/php artisan ninja:send-reminders
20 17 * * 6 /usr/local/cpanel/3rdparty/bin/php -d disable_functions=“” “/usr/local/cpanel/whostmgr/docroot/cgi/softaculous”/cli.php --backup --auto=1 --insid=491_15957
- cd /home/bargainp/portal.bargainpbx.com && /opt/cpanel/ea-php81/root/usr/bin/php -d register_argc_argv=On artisan schedule:run >/dev/null 2>&1
-
-
-
I checked laravel.log but don’t see any error.
Just to test if email is working I removed >/dev/null 2>&1 from the first crontab line and changed artisan to artisan1. After I saved crontab entry, I started seeing error email every minute. This means email itself is working.
Thanks in advance.