Forum

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

New Discussion

Recurring Invoices

Sunny Kk   ( User )

Commented 5 years ago

I have made a recurring invoice on daily but as 24 hours passed there is no invoice created yet.


Do we need to setup any cronjob for this?

Denis Dulici   ( Admin )

Commented 5 years ago

Yes, Sunny, see the scheduling tab under the Settings page please.

Mohammad Patel   ( User )

Commented 5 years ago

 Hi Sunny Kk,


 


Did you get the recurring invoice function working?

Bryan Nazar   ( User )

Commented 5 years ago

Hi @Mohammed, I am trying this for weeks and no good result. I als tried your tweak in the code and cronjobs are not working.

Aw1   ( User )

Commented 5 years ago

Hi, im dont good result... return every time...


 


....


No scheduled commands are ready to run.
Content-type: text/html; charset=UTF-8


 


....

Chinedu Obi   ( User )

Commented 3 years ago

Hi,

I had the same problem for days until I decided to take full control of the cron job from my shared hosting cpanel.

So in order to get the recurring invoice and invoice and bill reminders to work without errors, simply create 3 different cron jobs and set them to run once per day. You can set the jobs to run at a particular hour. For example, 0,4,*,*,* means the cron job will run at 4am server time everyday.

So for the recurring invoice cron job, use the following command
/usr/local/bin/php /path_to_akaunting/artisan recurring:check >> /dev/null 2>&1

For the invoice reminder cron job, use the following command
/usr/local/bin/php /path_to_akaunting/artisan reminder:invoice >> /dev/null 2>&1

For the bill reminder cron job, use the following command
/usr/local/bin/php /path_to_akaunting/artisan reminder:bill >> /dev/null 2>&1

I hope it helps someone.

Best Regards

Brad Smith   ( User )

Commented 2 years ago

how can i manually trigger?

Tektonic Ltd   ( User )

Commented 2 years ago

To manually trigger simply run the command line from a terminal window

Please login or register to leave a response.

Showing 1 to 8 of 8 discussions