We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it by the end of 2024. Read more about it: https://vestacp.com/docs/vesta-2-development
Cronjob command is not working
Cronjob command is not working
hello i am trying to run this cron command below but its not working
wget -O - http://MYSTORE.COM/multiscraper/process/ >/dev/null 2>&1
am i making some mistake ??? please help me to get this command work
please help
wget -O - http://MYSTORE.COM/multiscraper/process/ >/dev/null 2>&1
am i making some mistake ??? please help me to get this command work
please help
Re: Cronjob command is not working
have you tested this command beforehand via cli?
where did you put it for having it run via cron?
did you restart the cron service if you added it somewhere manually?
maybe get rid of the >/dev/null 2>&1 part. at least for testing purposes and to be able to see whats wrong in the log-files.
where did you put it for having it run via cron?
did you restart the cron service if you added it somewhere manually?
maybe get rid of the >/dev/null 2>&1 part. at least for testing purposes and to be able to see whats wrong in the log-files.
Re: Cronjob command is not working
hello friend,
i am noob with vestacp earlier i was using the command with godaddy server and it was working fine. may be vestacp has its own command line to make this work, could you please help me in to make this command work. or any other alternate of this cron command
i have already tried what you have said in last post but no success yet :(
please help
i am noob with vestacp earlier i was using the command with godaddy server and it was working fine. may be vestacp has its own command line to make this work, could you please help me in to make this command work. or any other alternate of this cron command
i have already tried what you have said in last post but no success yet :(
please help
Re: Cronjob command is not working
In control panel in masonry CRON, create a task, specify Cauchy, minutes, etc if you want not to specify a value then in the field enter *, and in the command field, enter the
domain - your domain is Valid.
login - Binding your user.
cron.php - Your task which should be executed
Code: Select all
/usr/bin/php /home/login/web/domain/public_html/cron.php
domain - your domain is Valid.
login - Binding your user.
cron.php - Your task which should be executed
Re: Cronjob command is not working
I respectfully doubt that.addyjo wrote: i have already tried what you have said in last post but no success yet :(
this probably has nothing to with vestacp at all. for sure you can do a wget to do something like this. but you should make sure this command works before you put it into cron. so simply try it from the normal command line aka ssh aka cli...
that said you have to make sure that wget is installed and that the url you are trying to wget is reachable and so on.
I can't help if you don't care to elaborate or at least answer to my questions, because I am not able to look into your logfiles or at the error-messages you may get. ;-)
Re: Cronjob command is not working
hello friend now after few changes its working
wget http://eshopi.com/my_store_03/process/
however its able able to find the listing of pages but its not able to grab the pages faster as it should,
about checking the cron tab in cli, ssh ... so to be very honest i am newbie and don't know how to check this... could you please explain me how to do it so i can share the logfile or the error message with you..
thanks
wget http://eshopi.com/my_store_03/process/
however its able able to find the listing of pages but its not able to grab the pages faster as it should,
about checking the cron tab in cli, ssh ... so to be very honest i am newbie and don't know how to check this... could you please explain me how to do it so i can share the logfile or the error message with you..
thanks
Re: Cronjob command is not working
if it is slow, that maybe related to the server itself, long lists may take some time to be ex- or imported to your database and that may slow down things. vestacp even comes with very short timeout-settings in configuration-file for mysql, which may lead to problems while fetching lists / doing cronjobs like this on pages with large databases.
I suggest you find yourself someone you trust and who knows about linux administration so you can work with him directly on your issues. there are plenty of options to go through, which sadly would otherwise leave us here guessing around every other day ;-)
I suggest you find yourself someone you trust and who knows about linux administration so you can work with him directly on your issues. there are plenty of options to go through, which sadly would otherwise leave us here guessing around every other day ;-)