Question:

I installed WP Offload Media Lite for Amazon S3 and DigitalOcean Spaces on my server, and I want to set up a cron job to trigger WP Offload Media Lite for Amazon S3 and DigitalOcean Spaces' cron job script. What should I do to set up the cron job?

Answer:

As recommended by WP Offload Media Lite for Amazon S3 and DigitalOcean Spaces officially at here, you may use WorkCron to trigger cron job script in WP Offload Media Lite for Amazon S3 and DigitalOcean Spaces.

Our webcron service is best for triggering WP Offload Media Lite for Amazon S3 and DigitalOcean Spaces' cron job script. Just follow below simple steps to configure cron job for your WP Offload Media Lite for Amazon S3 and DigitalOcean Spaces:

  1. Open your cron job dashboard, click on " Cron Job" button.
  2. Before using WorkCron, please add define('DISABLE_WP_CRON', true); to your wp-config.php file to disable the WP Cron System.
  3. In field "URL to call", enter http://www.example.com/wp-cron.php (replace www.example.com path with your install location). Choose an appropriate cron job execution frequency. Checkout below screenshot:

    Set up cron job for WP Offload Media Lite for Amazon S3 and DigitalOcean Spaces
  4. If necessary, finish the other optional settings.
  5. Click "Create Cron Job" button. You're done! WorkCron will trigger your WP Offload Media Lite for Amazon S3 and DigitalOcean Spaces' cron job script dutifully according to your time setting.
  6. If you haven't registered your WorkCron account yet, click on the "add a password" link on the top to add an email and password to your account.