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

New Discussion

cron job

Volkan Midilli   ( User )

Commented 5 years ago

Hi I couldn't make sense cron path.

Akaunting give me this script "php /path-to-akaunting/artisan schedule:run >> /dev/null 2>&1"

I changed this script "php http://panel.****.com/artisan schedule:run >> /dev/null 2>&1" but when i try this url, there is no response. How to change this script ?

Denis Duliçi   ( Admin )

Commented 5 years ago

That's not the web path but file path like:


Mohammad Patel   ( User )

Commented 4 years ago

php -q /home/marzico/ schedule:run >> /dev/null 2>&1

Hi, i put as above in cpanel, and i've even ran it manually, but its not running the schedule.I set it as daily for testing purpose. I am getting no errors in the cron log except that it shows that its running. I had removed the -q also, no luck.

Mohammad Patel   ( User )

Commented 4 years ago

-bash-4.2# php artisan schedule:run

No scheduled commands are ready to run.

Bryan Nazar   ( User )

Commented 4 years ago


I am also having the same exact problem as Mohammad, in a previous thread a Akaunting member told me that there is a issue with recurrent invoice/bills, and they will fix this in the next version. 
So we just have to wait.

Lausch   ( User )

Commented 4 years ago

You need to run the schedule command every minute, because this is how Laravel works with it.

So, lets say you plan the scheduling to 6:00.

Then it might just work exactly at this hour and minute.

You can also manually fire each scheduling command manually anytime you want.

For the invoice reminder just do it like this:

php artisan reminder:invoice




Steven Brauer   ( User )

Commented 3 years ago

Nothing is generated automatically via the cron command. Manuel with "php artisan reminder: invoice" is fine.

Sandya   ( User )

Commented 3 years ago

still no result, always getting No scheduled commands are ready to run

Adam Parker   ( User )

Commented 2 years ago

Scheduling cron jobs in Laravel is a lot easier if you are using Cloudways platform instead of cPanel or any other Hosting Platform. When you logged in to their platform, there is a button “Add Cron Job” under the Cron Job section. Just click on the button, set its frequency as per your requirement using the drop down and provide the link to the script of the task you want to schedule and click the Apply button. Just like that, within a few minutes, your cron job will be all set.

Here is the link if you want to know more about Laravel Cron Job:

Martingray   ( User )

Commented 7 months ago

I recently read this blog how to use Cron jobs with Laravel, might be that would help you query regarding Laravel hosting for cron job.

Please login or register to leave a response.

Showing 1 to 10 of 11 discussions