Invoice Ninja v5 Self Hosted - Config / Cron Job Issues

On some webhosts, they may have a specifc php binary to execute so

&& /usr/local/bin/php

may not work.

We use Laravel 9 as the base framework, so it may be worth asking your webhost if there is any specific requirements to execute the crons ie path to PHP for a Laravel 9 application etc etc

We’ve tested the app on multiple cPanel servers and can confirm that the crons “can” work on shared hosting, but due to the range and variability between configurations of shared hosting it is impossible to work out why the crons may not be running in some instances.