WP Scheduling not working

  • Frym1

    #6245

    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

    Prasanna SP

    #33806

    Add this just above the line which says,

    /* That's all, stop editing! Happy blogging. */

    Frym1

    #33807

    Sorry Prasanna,

    Firstly what file am I editing? Confused on that point.

    and am I adding define(‘ALTERNATE_WP_CRON’, true); above /* That’s all, stop editing! Happy blogging. */

    Sorry for my ignorance 🙂

    Prasanna SP

    #33808

    Open wp-config.php and search for /* That’s all, stop editing! … Line. Then add define(‘ALTERNATE_WP_CRON’, true); above that line.

    Frym1

    #33809

    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?

    Prasanna SP

    #33810

    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.