Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

How can I add this to cron jobs?

General questions about VestaCP
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
alejandro
Posts: 2
Joined: Fri Feb 19, 2016 3:32 am

How can I add this to cron jobs?
  • Quote

Post by alejandro » Fri Feb 19, 2016 3:37 am

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?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: How can I add this to cron jobs?
  • Quote

Post by tjebbeke » Fri Feb 19, 2016 7:34 am

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?
Top

alejandro
Posts: 2
Joined: Fri Feb 19, 2016 3:32 am

Re: How can I add this to cron jobs?
  • Quote

Post by alejandro » Fri Feb 19, 2016 1:37 pm

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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How can I add this to cron jobs?
  • Quote

Post by skurudo » Sat Feb 20, 2016 8:16 am

Try to check your command from console first.
Top

Peggy
Posts: 4
Joined: Fri Jun 12, 2015 6:43 am

Re: How can I add this to cron jobs?
  • Quote

Post by Peggy » Sun Feb 21, 2016 6:26 am

My server doesn’t have a cron job , so i’ve used this service : https://www.easycron.com to do it.
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: How can I add this to cron jobs?
  • Quote

Post by tjebbeke » Sun Feb 21, 2016 9:19 am

in easycron.com you need to add your cronjob http://www.yourdomain.com/iwp/cron.php
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password