How can I add this to cron jobs?
How can I add this to cron jobs?
I need to add the following code to cron jobs
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?
Code: Select all
php -q -d safe_mode=Off /home/****/web/***.com/public_html/iwp/cron.php >/dev/null 2>&1
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?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: How can I add this to cron jobs?
What doesn't work? Can't you add the cronjob? The cronjob hasn't running? Have checked the log files?alejandro wrote:why it doesnt works?
Re: How can I add this to cron jobs?
it doest work i can add it but doesnt runtjebbeke wrote:What doesn't work? Can't you add the cronjob? The cronjob hasn't running? Have checked the log files?alejandro wrote:why it doesnt works?
Re: How can I add this to cron jobs?
Try to check your command from console first.
Re: How can I add this to cron jobs?
My server doesn’t have a cron job , so i’ve used this service : https://www.easycron.com to do it.
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: How can I add this to cron jobs?
in easycron.com you need to add your cronjob http://www.yourdomain.com/iwp/cron.php