Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Recurring invoices not working

Mario   ( User )

Commented 2 years ago

Hi everyone,

the title pretty much says it all. I am self hosting Akaunting 3.0.6 and properly setup recurring invoices do not trigger creation of new invoices. They just never happen. It's frustrating.

Any ideas? Thank you so much.

Best,
Mario

Meaz   ( User )

Commented 2 years ago

You need to set you cronjob respecting UTC.
If you check the recurring hour suggested when you're logged in the admin panel, then set the crontab to match that hour BUT having the time shift in mind. So if 9 is set on the admin panel (UTC time), and you're in CEST, then set the cronjob at 11. At least that's how I made it work!

Mario   ( User )

Commented 2 years ago

Hi Meaz, thank you so much for your help. What is the location or file name of the script that needs the cronjob? Have a lovely weekend.

Benjamin Harris   ( User )

Commented 2 years ago

Mario,
you will find this under Settings > Scheduling. it's not very well documented but something like this works.

*/5 * * * php {path to your setup}/artisan schedule:run >> /dev/null 2>&1

Please login or register to leave a response.

Showing 1 to 4 of 4 discussions