Hello,
I’m running the self hosted version and I’m checking the cron jobs for recurring incoices and reminders. I don’t understand Why I need to add these two cronjobs. Laravel has it’s own cronjob feature, which is used as I can see in the app\console\Kernel.php file.
Why do I need to add these two crontabs:
0 8 * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-invoices
0 8 * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-reminders
While adding this cron would be enough
* * * * * php /path/to/artisan schedule:run >> /dev/null 2>&1
BTW: Looking at the scheduled commands, you use a parameter –force
, but this isn’t used in the command, so it will fail.