mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Recurring Invoice Creation Issue #1757
This commit is contained in:
parent
d708ec4aee
commit
bd5ec5f5c5
@ -40,7 +40,7 @@ trait HasRecurrence
|
||||
$monthsSinceLastSent = ($diff->format('%y') * 12) + $diff->format('%m');
|
||||
|
||||
// check we don't send a few hours early due to timezone difference
|
||||
if (Carbon::now()->format('Y-m-d') != Carbon::now($timezone)->format('Y-m-d')) {
|
||||
if (Utils::isNinja() && Carbon::now()->format('Y-m-d') != Carbon::now($timezone)->format('Y-m-d')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -6,11 +6,11 @@ Review the `.env.example <https://github.com/invoiceninja/invoiceninja/blob/mast
|
||||
Recurring invoices and reminder emails
|
||||
""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
Create a cron to call the ``ninja:send-invoices`` command **hourly** and ``ninja:send-reminders`` command **once daily**.
|
||||
Create a cron to call the ``ninja:send-invoices`` and ``ninja:send-reminders`` commands **once daily**.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
0 * * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-invoices
|
||||
0 8 * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-invoices
|
||||
0 8 * * * /usr/local/bin/php /path/to/ninja/artisan ninja:send-reminders
|
||||
|
||||
Email Queues
|
||||
|
Loading…
x
Reference in New Issue
Block a user