I migrated InvoiceNinja installation to new server, everything was working but I forgot to setup the cron job (and for some reason the little warning icon didn’t show anything about missing cron job).
The installation had several recurring invoices and a few had auto bill setup. Everything was working with the auto bill and recurring invoices before migration.
So I added the cron and after it ran it added this into storage/laravel.log:
[2023-08-02 22:00:04] production.INFO: Auto Bill - balance remains to be paid!! - 80.600000
[2023-08-02 22:00:09] production.INFO: Auto Bill - balance remains to be paid!! - 53.900000
[2023-08-02 22:00:13] production.INFO: Auto Bill - balance remains to be paid!! - 56.800000
[2023-08-02 22:00:21] production.INFO: Auto Bill - balance remains to be paid!! - 26.000000
[2023-08-02 22:00:30] production.INFO: Auto Bill - balance remains to be paid!! - 26.000000
[2023-08-02 22:00:43] production.INFO: Auto Bill - balance remains to be paid!! - 45.000000
[2023-08-02 22:00:47] production.INFO: Auto Bill - balance remains to be paid!! - 69.500000
After I added the cron, the recurring invoices were sent, but auto bill didn’t happen for the recurring invoices with auto bill (the credit cards on file didn’t get charged as they normally would). I even ran the cron command and triggered queues manually via ssh and it output nothing else (just ‘scheduler run successfully’ and ‘no more queues’, along those lines…)
What are those lines in the log? Will auto bill work from now on?