Schedule Auctions for WooCommerce cron jobs

Use your hosting scheduler to run Auctions for WooCommerce tasks such as closing auctions and sending notification emails. This guide uses the external cron controls in version 4.2.1.

Note:

This is a developer-level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customization work. We are unable to provide support for customization under our Support Policy.

Before you start

↑ Back to top

You need an administrator account in WordPress and access to a hosting scheduler that can request an HTTPS URL. Ask your hosting provider to set up the schedule if your hosting plan manages it for you.

Get the task URLs

↑ Back to top

Go to Auctions > Settings > Tools. In Cron Secret Token, enter a private token or select Generate Token, then select Save changes. Under External Cron URLs (cURL / Server Crontab), select Copy URL for each task you want to run.

Treat token-bearing URLs like passwords and store them in your scheduler’s private configuration. If you rotate the token, update the URLs for every scheduled task.

Set the schedule

↑ Back to top

Schedule Auction Status Check every minute and Auction Emails every two hours. If you use automatic relisting, closing-soon emails, or payment reminders, follow the interval shown next to each task in the plugin.

If your scheduler runs a shell command, set AUCTION_CRON_URL privately to the copied URL for the specific task. Use a separate configuration for each task.

curl --fail --silent --show-error "$AUCTION_CRON_URL"

Verify external cron activity

↑ Back to top

After the scheduler runs, return to Auctions > Settings > Tools and look under External Cron Status. Refresh the page and confirm a recent successful completion for the task. The status screen tracks external requests since tracking began.

If the status is Late or Error, confirm the schedule, the URL, and the saved token. Then check the scheduler’s error output. A task that has never run displays Never run.

Questions and support

↑ Back to top

Something missing from this documentation? Still have questions and need assistance?

  • If you have a question about an extension or theme you’d like to purchase, visit our contact page and use the AI Assistant or contact options.
  • If you already purchased this product and need some assistance, get in touch with a Happiness Engineer via our support page and select this product’s name from the Product dropdown.

Related Products

WooCommerce Subscriptions is a WooCommerce extension that lets customers subscribe to your products or...

Offer add-ons like gift wrapping, special messages or other special options for your products.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.