If I enabled cronjob details I got an email with this:
Tue, 07 Feb 2023 03:10:12 +0000 Running SendRecurringInvoices...
Tue, 07 Feb 2023 03:10:13 +0000 Recurring invoice(s) found
Tue, 07 Feb 2023 03:10:13 +0000 0 recurring expenses(s) found
Tue, 07 Feb 2023 03:10:13 +0000 Done
Content-type: text/html; charset=UTF-8
Looks like is running ok.
Regarding the problem I was having, apparently if I create a recurring invoice that starts today and run the cron from the console it doesn’t work, it doesn’t create the invoice.
But, if I create the recurring invoice so that it starts tomorrow if it works. The invoice is created when the cron runs regularly the next day.