Yeah I think I have that worked out now. I had a few that were set to next day in utc, because they ran so late last time and that’s fixed. However, the ones that were set for the correct day time still didn’t run on their own via the cron job.
Why did the cron job stop working? They don’t generate or send at all until I run manually. Is there a log I can check?
Now, I’m assuming, every recurring invoice that didn’t send and should have would be found the next time it fires. That may not be the case.
I’m using Ubuntu 22.04 lts. Haven’t changed anything
Every hour the recurring cron runs, we structure the query to search for all invoices with a next_send_date < the current time, so as long as the recurring invoice is less than “now” it will get picked up.
It may help to turn on expanded logging in the .env file using the following
EXPANDED_LOGGING=true
The will output data to storage/logs/invoiceninja.log and you’ll be able to see the frequency of the recurring invoice cron and how many recurring invoices it is processing each hour.