Page 1 of 1

How can I add this to cron jobs?

Posted: Fri Feb 19, 2016 3:37 am
by alejandro
I need to add the following code to cron jobs

Code: Select all

php -q -d safe_mode=Off /home/****/web/***.com/public_html/iwp/cron.php >/dev/null 2>&1
it should be every 20 minutes

i used * in every fields except on minutes tht i used */20

and for the command i tryed to use like this because is how the plugin gave me the code and 1 of the possibilities that answer a user here in the first post answer.

viewtopic.php?t=5599

why it doesnt works?

Re: How can I add this to cron jobs?

Posted: Fri Feb 19, 2016 7:34 am
by tjebbeke
alejandro wrote:why it doesnt works?
What doesn't work? Can't you add the cronjob? The cronjob hasn't running? Have checked the log files?

Re: How can I add this to cron jobs?

Posted: Fri Feb 19, 2016 1:37 pm
by alejandro
tjebbeke wrote:
alejandro wrote:why it doesnt works?
What doesn't work? Can't you add the cronjob? The cronjob hasn't running? Have checked the log files?
it doest work i can add it but doesnt run

Re: How can I add this to cron jobs?

Posted: Sat Feb 20, 2016 8:16 am
by skurudo
Try to check your command from console first.

Re: How can I add this to cron jobs?

Posted: Sun Feb 21, 2016 6:26 am
by Peggy
My server doesn’t have a cron job , so i’ve used this service : https://www.easycron.com to do it.

Re: How can I add this to cron jobs?

Posted: Sun Feb 21, 2016 9:19 am
by tjebbeke
in easycron.com you need to add your cronjob http://www.yourdomain.com/iwp/cron.php