Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Laravel CRON in Webuzo


Poll
Poll Question : .....
... (0) (0%)
.... (0) (0%)

Total Votes : 0




Threaded Mode | Print  

 Laravel CRON in Webuzo, The CRON in laravel artisan doesn't work for me.. (14 Replies, Read 795 times)
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
I have a laravel system, I have already worked with other systems and

the cron has always worked for me, however for this one that uses

LARAVEL has not worked for me, what would be the solution for this

problem, I send you the images







what would be the way to create a cron for that address?







Thanks
IP: --   

Laravel CRON in Webuzo
Dhanya
Group: Softaculous Team
Post Group: Working Member
Posts: 167
Status:
Hi,

You need to set the cron job as follows:
/usr/local/apps/php[version]/bin/php /home/admin/public_html/donasionline/artisan schedule:run

The PHP version is the default PHP version which you are using on your webuzo panel.

In order to check if it works or not, you need to remove the '>> /dev/null 2>&1' from cronjob and execute the command on commandline.

Also you can check the output of the cron by directing its response in a file as ' >> /home/admin/response.log'

Once set, you need to check the response.log file for output og the cron command.

Let us know if you have any further queries.
IP: --   

Laravel CRON in Webuzo
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi,
Still not working for me :(
see in the image, CRON still not work after i am set the command to

/usr/local/apps/php71/bin/php /home/admin/public_html/donasionline/artisan schedule:run >> /dev/null 2>&1
but if i try the command in commandline, working properly.Why ?
IP: --   

Laravel CRON in Webuzo
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi,
Still not working for me :(
see in the image, CRON still not work after i am set the command to

/usr/local/apps/php71/bin/php /home/admin/public_html/donasionline/artisan schedule:run >> /dev/null 2>&1
but if i try the command in commandline, working properly.Why ?
IP: --   

Laravel CRON in Webuzo
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi,
Still not working for me :(
see in the image, CRON still not work after i am set the command to

/usr/local/apps/php71/bin/php /home/admin/public_html/donasionline/artisan schedule:run >> /dev/null 2>&1
but if i try the command in commandline, working properly.Why ?
IP: --   

Laravel CRON in Webuzo
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi,
Still not working for me :(
see in the image, CRON still not work after i am set the command to

/usr/local/apps/php71/bin/php /home/admin/public_html/donasionline/artisan schedule:run >> /dev/null 2>&1
but if i try the command in commandline, working properly.Why ?
IP: --   

Laravel CRON in Webuzo
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
Hi,
Still not working for me :(
see in the image, CRON still not work after i am set the command to

/usr/local/apps/php71/bin/php /home/admin/public_html/donasionline/artisan schedule:run >> /dev/null 2>&1
but if i try the command in commandline, working properly.Why ?
IP: --   

Laravel CRON in Webuzo
lesmond
Group: Member
Post Group: Working Newbie
Posts: 90
Status:
Was there ANY need to post 5 Times!  :??:

-----------------------
Buildz Hosting
IP: --   

Laravel CRON in Webuzo
Dhanya
Group: Softaculous Team
Post Group: Working Member
Posts: 167
Status:
Hi,

Did you check the cron by setting the cron command as below:
/usr/local/apps/php71/bin/php /home/admin/public_html/donasionline/artisan schedule:run >> /home/admin/response.log

After a minute, check the response.log file for error if any.

Let us know.
IP: --   

Laravel CRON in Webuzo
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
The content of response.log is

Running scheduled command: '/usr/local/apps/php71/bin/php' 'artisan' transaction:clean > '/dev/null' 2>&1
What should I do now?

the cron still not work for me...
IP: --   

Laravel CRON in Webuzo
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
oh i am sorry, the post above is in the command prompt.but if i paste

/usr/local/apps/php71/bin/php /home/admin/public_html/donasionline/artisan schedule:run >> /home/admin/response.log
in webuzo, the response.log is unavailable in /home/admin
what should i do now?
IP: --   

Laravel CRON in Webuzo
Dhanya
Group: Softaculous Team
Post Group: Working Member
Posts: 167
Status:
Hi,

Can you open a support ticket with Webuzo support by following the below URL in order to check the issue:
https://www.softaculous.com/support/
IP: --   

Laravel CRON in Webuzo
Dhanya
Group: Softaculous Team
Post Group: Working Member
Posts: 167
Status:
Hi,

We have resolved your issue.

Let us know if you face any issues further.
IP: --   

Laravel CRON in Webuzo
hidden76
Group: Member
Post Group: Newbie
Posts: 12
Status:
Can you describe, what is the problem?
Thanks before..
IP: --   

Laravel CRON in Webuzo
Dhanya
Group: Softaculous Team
Post Group: Working Member
Posts: 167
Status:
Hi,

The issue was that cronjobs weren't working on your server since cronie which is required to schedule a cron job was not installed on your server. We have installed it and now cronjobs are working fine.

Let us know if you face any issues further.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 23, 2019, 3:29 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 12  |  Page Created In:0.342