System is sending emails for new and recurring invoices, but no reminders are sent.
The reminders are all setup as:
First reminder - 3 days before due date (Send email checked)
Second reminder - 1 day after the due date (send email checked)
Third reminder - 7 days after the due date (send email checked), plus late fee too
I am not familiar with Lavrael, so I am not really sure what information you need here.
Crontab for the Apache user(www-data) is set as:
0 4 * * * php /var/www/ninja/artisan config:clear
1 4 * * * php /var/www/ninja/artisan optimize
*/5 * * * * php -d register_argc_argv=On /var/www/ninja/artisan schedule:run
And I can confirm the cron is running normally.
This is the part of .env that I think may be relevand.
Are you talking about the recurring invoices? This is working fine. New invoices are created when comes to the next send date. The problem is in the reminders of the existing invoices and in the auto billing too.
For example, this is what I have set for the first reminder.
I am not entirely sure If I understood you, or perhaps is the other way around.
Some recurring invoices are set for every week, some for every month and some for every year. They all work fine. The date arrives and when I see the new invoices and the system is automatically sending the new invoices at the time of creation.
There are 4 reminders set,
3 days before the due date.
1 day after the due date
7 days after the due date plus an addition of a late fee payment.
None of the reminders are working. I only noticed because the late fee payment wasn’t being applies to the invoices and most people wasn’t paying on time.
I have no idea what is not working, but I suspect it is like this since I did update to the version 5.5.2
It is running on PHP 8.1