WP Scheduling not working
-
According to my host WordPress scheduled tasks rely on a connection back to the same server, which is disabled on all their servers for security reasons.
Therefore I am unable to use the blog scheduling function in WP. However I have been told there is a workaround by adding the following to defines in my wp-config.php file:
define(‘ALTERNATE_WP_CRON’, true);
Dont really want to edit original php files without guidance. Any ideas where I add this.
Regards
Mark
Add this just above the line which says,
/* That's all, stop editing! Happy blogging. */Open wp-config.php and search for /* That’s all, stop editing! … Line. Then add define(‘ALTERNATE_WP_CRON’, true); above that line.
Prasanna
Thanks for your help.
I went into my host, file manager, edited the file wp-config.php and added define(‘ALTERNATE_WP_CRON’, true); above /* That’s all, stop editing! … Line.
As per below:
* Change this to true to run multiple blogs on this installation.
* Then login as admin and go to Tools -> Network
*/
define(‘WP_ALLOW_MULTISITE’, false);
define(‘ALTERNATE_WP_CRON’, true);
/* That’s all, stop editing! Happy blogging. */
Went back in created dummy post scheduled to publish 4 minutes later, however when time elapsed post didnt publish and read “missed schedule”?
Am I doing something wrong?
4 minutes is too short. Schedule post after one hour, or at least 30 minutes and let me know if it works.
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
