Cron & Scheduled Tasks Setup
Set up an external cron job to close competitions and run automatic draws on time. If you use Automatic Relist, add a second job to automatically relist competitions.
Schedule the Competition Jobs
Section titled “Schedule the Competition Jobs”- Open Competitions > Settings > Tools.
- Under Cron Secret Token, find External Cron URLs (cURL / Server Crontab).
- Click Copy URL next to Competition Status Check. Schedule an HTTP GET to that URL every minute.
- If you use Automatic Relist, copy the Competition Auto-Relist URL. Schedule it once per hour.
If your host accepts crontab commands, replace each placeholder below with the complete URL from WordPress. Keep the quotes around the URL.
* * * * * curl -fsS --output /dev/null "PASTE_COMPETITION_STATUS_CHECK_URL"0 * * * * curl -fsS --output /dev/null "PASTE_COMPETITION_AUTO_RELIST_URL"If your host has a scheduler that accepts URLs, paste the copied URL directly and select the same interval.
The plugin generates a token on new installations. Keep the full URLs private. If you change the token, click Save changes and update both scheduled URLs.
Verify the Jobs
Section titled “Verify the Jobs”In Competitions > Settings > Tools, find External Cron Status. After the first scheduled run, refresh the page and check Last successful completion. A Currently running label means the request has started.
If a job shows Error, Late, or Never run, check your scheduler’s logs and confirm the request reaches WordPress without a cached response. An HTTP 403 response can mean the token is missing or out of date.
WordPress Scheduled Tasks
Section titled “WordPress Scheduled Tasks”WordPress uses WP-Cron for its own scheduled tasks. Keep WP-Cron running, or configure your host to run WordPress scheduled tasks before disabling the default trigger. Schedule the competition URLs separately in either setup.