I just created my first bunch of recurring invoices. They are all sitting pretty in Invoice Ninja with status “Pending”. Running the cron job manually doesn’t find any recurring invoices though. The time zone is NZDT (New Zealand); UTC is 13 hrs behind.
I have specified the correct time zone (Pacific/Auckland) in both /etc/php/7.0/cli/php.ini and /etc/php/7.0/apache2/php.ini. I’ve also selected the correct time zone in Settings – Localization.
I expect that this all will work in the afternoon but wonder how I can tell php and/or artisan to use the local time instead of UTC as presumably that is why the recurring invoices haven’t been found yet.
The invoices were sent in the afternoon as expected. The server’s hardware clock is set to UTC but of course the local time depends on the time zone. Maybe something for the wish list? Easy enough to work around it but there may be other parts of the software where an accurate local time is more important.