CRON Logs (cron.log) missing for InvoiceNinja
Moved
Solved
Invoice Ninja
-
wrote on Oct 16, 2020, 4:31 PM last edited by girish Oct 16, 2020, 9:51 PM
-
wrote on Oct 16, 2020, 5:30 PM last edited by
You are correct. They are in the full logs. So I am able to see the CRONs.
Next question on this however, how do I change the default CRON jobs? I need to adjust the timing.
-
The two cron patterns currently are:
"invoices": { "schedule": "0 */6 * * *", "command": "sudo -u www-data php /app/code/artisan ninja:send-invoices" }, "reminders": { "schedule": "0 8 * * *", "command": "sudo -u www-data php /app/code/artisan ninja:send-reminders" }
What do you want to change them to? Maybe we need to fix this at the package level?
-
wrote on Oct 19, 2020, 3:07 PM last edited by
There is a bug that some times causes invoices to auto-bill according to the InvoiceNinja team, https://github.com/invoiceninja/invoiceninja/issues/3645
The workaround is to add some more distance between the two CRON jobs and also have them run later in the day. It would be nice to be able to change these.