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 Debian/Ubuntu
  • Search

Cron job not running for wordpress

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
lukeseven
Posts: 34
Joined: Mon Sep 14, 2015 2:29 pm

Cron job not running for wordpress
  • Quote

Post by lukeseven » Fri Sep 25, 2015 7:50 pm

Hi,

I kinda hoped I'll be able to use server Cron Jobs instead of Wordpress built in Cron system but I cannot get it working for an user I created in VestaCP neither for the root account. I used couple different commands I found on Google but none of them ever worked for me via VestaCP. I use easycron.com to trigger wordpress jobs but I would love to use it on my own server (VPS) and I hope I'll be able to set up Cron Job Timeout somewhere in conf file. However, to be honest, I have no idea how to do that. I just found some ssh command to make sure the cron is running on my server and also I have tried to restart it but still no luck.

Can anyone help here, please ?

I will really appreciate it.

Thanks in advance
Top

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

Re: Cron job not running for wordpress
  • Quote

Post by skurudo » Mon Sep 28, 2015 12:50 pm

In VestaCP you can manage cron jobs from panel

Image
Top

lukeseven
Posts: 34
Joined: Mon Sep 14, 2015 2:29 pm

Re: Cron job not running for wordpress
  • Quote

Post by lukeseven » Fri Oct 09, 2015 12:27 pm

Hi,

thank you for replaying but I kind of know how and where to manage cron jobs as I have experience with cPanel's cron jobs. The problem is that it's not working for me. It just doesn't trigger the script for unknown reason. Maybe I am doing it wrong or something but I always used that via cPanel when I was on shared hosting. Now I am running my websites on none managed VPS and I cannot get it working.

I have also found some commands in order to check is the cron system is enabled and working on my server with ubuntu 14.04 OS and everything looks fine.

I have tried to add these details to the Cron of the Admin user ( default user ) and also to the user I have created with all the root privileges but that doesn't work too.

Minute */15
Hour *
Day *
Month *
Day of Week *

Command
wget -q -O - marketonchart.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1

I'd like to get it working for the users I create that they will have their own cron jobs working so I don't need to add it for them in the Admin's Cron Jobs where are already Vesta default cron jobs.

I have currently suspended the cron job above as I am currently using wordpress default cron system.

Thanks in advance

Lukas
Top

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

Os: CentOS 6x
Web: apache + nginx
Re: Cron job not running for wordpress
  • Quote

Post by tjebbeke » Fri Oct 09, 2015 2:27 pm

Have you try with http / https in wget?
Top


Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Debian/Ubuntu”



  • 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