I’ve got an up to date network install of the WordPress.
I’m trying to set up a cron job (on my server) to call the wp-cron.php script so that scheduled backups (using backupbuddy if you’re interested) occur overnight. I can’t use wget or curl cos HTTP loopback requests are not allowed by my host.
Two questions (one minor, one major)
The minor one is: Do I have to use the Alternate Cron Method using
define('ALTERNATE_WP_CRON', true);in wp-config.php in order for WordPress to succesfuly run scheduled jobs at all
The major one is: when I call wp-cron.php from the command line using:
I get the following result:
Status: 302 Moved Temporarily
and http://dansgalaxy.co.uk/2010/11/15/wp-cron-and-multisite-headache/ recons it’s something to do with WordPress needing wp-cron to be run on a site.
Does wp-cron.php really need to know the site?
The plugin schedules backups through the network admin – so I’m not even sure it has a site association
- The topic ‘calling wp-cron through cmd line by a cron job error: Status: 302 Moved Temporar’ is closed to new replies.