Need a new web host or having a problem with a script? Tips and advice on the best way to design, build and maintain your most valuable asset - your website!

Wordpress and Cron Jobs

PremiumMember
dmanherz
Posts: 9
Joined: 26 Nov 09
Trust:

Wordpress and Cron Jobs

has anyone else experienced a program with wordpress 2.9 not running cron jobs or scheduled tasks.
Is there a way to get it working again?

Dan
  • 0
Site Admin
mikeantiga
Posts: 793
Joined: 28 Mar 10
Trust:
Try this: Access the WordPress file "wp-cron.php" using your browser ( example: http://www.yourdomain.com/wp-cron.php ). Loading this URL should update your scheduled posts. Observe your blog from time to time to check if it is still not publishing your scheduled posts. If its still not updating automatically, you can setup a cron job on your control panel that runs for a specific schedule (let's say, everyday or every hour) with the following syntax:

/usr/bin/wget http://yourdomain.com/wp-cron.php
  • 0
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 
PremiumMember
dmanherz
Posts: 9
Joined: 26 Nov 09
Trust:
Thanks.
I tried loading that url for my site but it just keeps loading and loading and loading. Nothing seems to happen. I can't see anything.

How do we set up a cron job on the affilio hosts
  • 0
Site Admin
mikeantiga
Posts: 793
Joined: 28 Mar 10
Trust:
wp-cron.php page actually loads no results and will just give you a blank page. To setup a cron job on your Affilohost control panel, go to "Web Tools" section, click on "Scheduled Tasks". Please try this format instead:



Enter this command on the "Run this command:" textbox and then select the interval from the options below the textbox. Do not forget to replace 'yourdomain.com' with your own domain name. To test if the command is working, click on the "Test Command" button.
  • 0
Want lessons on Affiliate Marketing, SEO and Content Creation? Get them here for FREE:
http://www.affilorama.com/lessons
 

This topic was started on Mar 25, 2010 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.

cron