Question:

I installed Post Expirator on my server, and I want to set up a cron job to trigger Post Expirator's cron job script. What should I do to set up the cron job?

Answer:

Our webcron service is best for triggering Post Expirator's cron job script. Just follow below simple steps to configure cron job for your Post Expirator:

  1. Before using EasyCron, please add define('DISABLE_WP_CRON', true); to your wp-config.php file to disable the WP Cron System.
  2. Make some settings in your plugin:

    Post Expirator Settings
  3. Open your cron job dashboard, click on " Cron Job" button.
  4. In field "URL to call", enter http://www.example.com/wp-cron.php?doing_wp_cron (replace www.example.com with your install location). Choose an appropriate cron job execution frequency (for Post Expirator, we recommend to have the cron job run "every minute"). Checkout below screenshot:

    Set up cron job for Post Expirator
  5. If necessary, finish the other optional settings.
  6. Click "Create Cron Job" button. You're done! EasyCron will trigger your Post Expirator's cron job script dutifully according to your time setting.
  7. If you haven't registered your EasyCron account yet, click on the "add a password" link on the top to add an email and password to your account.