Cron job not running for wordpress
Cron job not running for wordpress
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
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
Re: Cron job not running for wordpress
In VestaCP you can manage cron jobs from panel


Re: Cron job not running for wordpress
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
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
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Cron job not running for wordpress
Have you try with http / https in wget?