Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : Cron Job every 20 minutes

1


Threaded Mode | Print  

 Cron Job every 20 minutes, CronJob didn't work? (26 Replies, Read 42925 times)
Guest
Group: Guest
Status:
Hi,
i have set CronJob on webuzo panel every 20 minutes: here the image in Attachments


Is set correctly the time?
In the command i have inserted the patch of php file like / home / public_html / file . P H P

but it seem Cronjob didn't work.
How to fix, what is wrong?

Thanks.
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
It is correct.

Make sure your command is correct. Execute it once manually from the terminal to confirm the same.

Provide the entire path to the php binary.
E.g /usr/bin/php

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Quote From : valley November 9, 2013, 6:18 pm
It is correct.

Make sure your command is correct. Execute it once manually from the terminal to confirm the same.

Provide the entire path to the php binary.
E.g /usr/bin/php


How to try to execute by terminal?
The command of Cron are correct but they didn't work, when i access to my personal script they tell me to insert a crom every 20 minutes so how i can test Cron Job is relly working?

Before i made the cron job for the same script in other panel and no problem, with Webuzo i see Cron Job seem to be not active.
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
You are probably inserting an invalid command.
What command are you using ?

Restart the CRON service:
Root > service crond restart

Run it at an interval of 5 mins for testing purpose, rather than for 20 mins and evaluate the result.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
php -q -d safe_mode=Off /home/****/public_html/iwp/cron.php >/dev/null 2>&1

i have insert in the minute : */20 and other field *
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Replace "php" with "/usr/bin/php"

Also manually execute this command

php -q -d safe_mode=Off /home/****/public_html/iwp/cron.php

What is the result ?

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Hi,
thank you so.. now the command will be
Quote
/usr/bin/php -q -d safe_mode=Off /home/******/public_html/iwp/cron.php >/dev/null 2>


where i can try to execute this, in the SSH?
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Execute it like any other linux command.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Quote From : valley November 13, 2013, 9:01 am
Execute it like any other linux command.


I have execute in linux SSH and no error are showed. If i open the relative script page after do this command they stop to alert me CronJob is missing because i have opened the command of cron by SSH who work.. so the problem i suppose is is in the CronJobs.

I have a problem in my VPS of SendMail, when i try to restart i can see some error. Maybe can be connected to this problem? I didn't know..
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
If it is working well from the command line then it should work well from the CRON as well.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Quote From : valley November 13, 2013, 11:17 am
If it is working well from the command line then it should work well from the CRON as well.


Sorry as i see CronJob didn't work on my Webuzo I?M using a plug in in wordpress. I have not solved this issue and i don't understand what is wrong but i have solved with a plug in in Wordpress.
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
You can open a support ticket with your server details so that we can debug a resolve the issue on your server.

https://www.softaculous.com/support/

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Quote From : valley November 24, 2013, 4:15 pm
You can open a support ticket with your server details so that we can debug a resolve the issue on your server.

https://www.softaculous.com/support/


I have some problem to give you the access.
If i want set a cronjob every 5 minutes i have to insert */5 in minute field and other field -> *

in command line i can put the patch of php file without noting befire like
not [ php home/admin... ] but directly [ home/admin... ] ?

I can see CronJob aren't work, what can be?
IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
future version of CronJob can have notification by email for verifiy if all work fine or last execution, logs.
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote
in command line i can put the patch of php file without noting befire like
not [ php home/admin... ] but directly [ home/admin... ] ?


Whatever command you add to the CRON, try to execute the command manually to test functioning of the command.

Only then will it provide the expected results.

Quote
future version of CronJob can have notification by email for verifiy if all work fine or last execution, logs.

Thanks for the suggestion.


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Quote
Whatever command you add to the CRON, try to execute the command manually to test functioning of the command.

Only then will it provide the expected results.


So i can think something didn't work because i have tried to send the command via ssh and it work.
For now i can't give you access to the server.

I think and i hope Cron in webuzo was tested from you and work maybe i can think can be my server problem but i use cron via Wordpress and all work.

This is the first time i see Cron Job didn't work in a control panel.
IP: --   

Cron Job every 20 minutes
divij
Group: Member
Post Group: Elite Member
Posts: 290
Status:
Hi,

Sir does your command require root access ? Because the commands executed by Webuzo are executed as the user and if the command requires root access it will not be executed.
IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Quote From : divij December 6, 2013, 1:51 pm
Hi,

Sir does your command require root access ? Because the commands executed by Webuzo are executed as the user and if the command requires root access it will not be executed.


No, i just asked to open a php file stored in public_html
IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
You can see goods idea of change to make in CronJob by testing the plug in for wordpress Crony CronJob Manager or simply see this screen:

Board Image

I like you can check if cron job is weel scheduled.
Also maybe you can add esy cron jobs and advanced cron job where in easy cronjob user can insert only a link to open ex: http://mywebsite/cron.php .. maybe you can simplify the use but give to user the possibility
with a drop down menu like in Plesk to set advanced options like
  like the cronjob now.

I think my cronjob is broken and didn't work but for now i will use wordpress cron. In the future i hope for a better cronjpb version.

Sorry but i have some problem to give you the access of my VPS.
Thank you for lissen to my suggestion.
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote
.. maybe you can simplify the use but give to user the possibility
with a drop down menu like in Plesk to set advanced options like
  like the cronjob now.


Thanks for the suggestion.

Quote

I think my cronjob is broken and didn't work but for now i will use wordpress cron. In the future i hope for a better cronjpb version.

It's probably because of your invalid command.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Quote From : kali December 10, 2013, 3:31 pm
Another way is to use easycron.com, a super easy-to-use free cron job service.

Thank you for the suggestion. I Know there is external free cron service but i'm thinking i'm pay a lot of money for VPS with webuzo inside and i don't have cronjob. Do you understand? I'm not shure on using external cron. It's ok for now, i'm using wordpress cron job.. maybe check cron job in webuzo or improve it :)
IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
It seems as i have installed a SSL certificate bad or without CA CronJobs all WordpressCronJob of three website hosted in the same VPS stop to work.

I have buyed a SSL certificate than i have installed it but without the CA code (Optional) and so CronJob didn't work.

I have not inserted the CA because it was sended to me with file format and not code so only after i have found Notepad ++ program for open CA file and take the code so then put in webuzo and now SSL work and Wordpress Cron Job too, Webuzo Cron Job i don't know, i'm not using now.
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Since you are not willing to share the root details of your server, could you please provide the steps to replicate the issue, we will resolve it.

This is the best we can do to resolve your issues.


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Quote From : valley December 16, 2013, 6:32 pm
Since you are not willing to share the root details of your server, could you please provide the steps to replicate the issue, we will resolve it.

This is the best we can do to resolve your issues.

Thank you, for now i have no issue.
I just want to say to you  the problem could be led by a certificate poorly installed. Now i'm not using cron job of webuzo, i don't need, thanks.
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote
Thank you, for now i have no issue.
I just want to say to you  the problem could be led by a certificate poorly installed. Now i'm not using cron job of webuzo, i don't need, thanks.


Okay !! We shall replicate this issue on our test servers and test the same.  :-x


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

Cron Job every 20 minutes
Guest
Group: Guest
Status:
Maybe if webuzo have a bug like in the new login log where the time of access is wrong, the Cron Job of webuzo can have a bug if the server has different time?

Like a server who has GMT time set and user time us UTC + 1 ?
My webuzo had set in the settings now GMT + 1

maybe can be a issue with webuzo cron in server with different time zone?
IP: --   

Cron Job every 20 minutes
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Quote From : peopleinside January 9, 2014, 12:42 pm
Maybe if webuzo have a bug like in the new login log where the time of access is wrong, the Cron Job of webuzo can have a bug if the server has different time?

Like a server who has GMT time set and user time us UTC + 1 ?
My webuzo had set in the settings now GMT + 1

maybe can be a issue with webuzo cron in server with different time zone?


This can be one of the issue. We shall replicate the same at our end.


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 1, 2025, 8:53 am.

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