Cronjob for recurring invoices and reminder emails

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.

We haven’t yet completed our Laravel scheduler implementation.

For example, using the crons you’re able to specify the time of day to send the emails however with the scheduler currently they’ll be sent at midnight.

OK, This would be a future feature?
I can use the two single cronjobs, no problem at all. But I was just wondering.

Agreed, hopefully in an upcoming release…