hansp
1
I have an issue that invoiceninja does not send the recurring invoices
cron output is like this:
Tue, 01 Jan 2019 23:00:05 +0000 Running SendRecurringInvoices…
Tue, 01 Jan 2019 23:00:05 +0000 31 recurring invoice(s) found
Tue, 01 Jan 2019 23:00:13 +0000 Processing Invoice: 286
Tue, 01 Jan 2019 23:00:14 +0000 Not billed - Sending Invoice
Sometimes an error like this shows up in the cron
In Filesystem.php line 61:
Allowed memory size of 33554432 bytes exhausted (tried to allocate 507904 b
ytes)
but i’ve got enough php mem ( http://hanspoelmans.be/ninja/public/phpinfo.php )
Invoices just remain as a concept.
manually emailing them trough the webgui works flawlesly
hillel
2
Not sure, maybe try increasing the memory limit further to see if it helps?
hansp
3
I think 2gig is more then enough. no?
hillel
4
Your PHP limit appears to be 1GB
hillel
5
It should be enough anyway but it’s worth trying 2
hansp
6
got 2gb allocated, didn’t save it last time
still got this msg last night
Thu, 03 Jan 2019 23:00:06 +0000 Running SendRecurringInvoices…
Thu, 03 Jan 2019 23:00:07 +0000 31 recurring invoice(s) found
Thu, 03 Jan 2019 23:00:13 +0000 Processing Invoice: 122
Thu, 03 Jan 2019 23:00:14 +0000 Not billed - Sending Invoice
In Filesystem.php line 61:
Allowed memory size of 33554432 bytes exhausted (tried to allocate 507904 bytes)
hillel
7
The allowed memory size error is the same, I think there is a limit restricting how much memory the script can use.