WowCodesDocs

Scheduled tasks (cron)

One line, run every minute by your host, drives all of the store's timed work: ending auctions, emails and clean-ups. Set it once and check it from the admin.

Without it, nothing timed happens

Auctions don't end and emails don't go out until the scheduled task runs.

Set it up

Open Settings Security Logs Cron Logs. It shows the exact command and URL for your site, with your real path and key. Use whichever your host offers, set to every minute.

A command

In cPanel: Cron Jobs, choose "Once Per Minute", and paste the command with your site's folder:

Crontab
* * * * * php /path/to/your/site/cron/dispatch.php >/dev/null 2>&1

A URL

If your host can only call a web address, or you use an outside cron service, call this every minute:

URL
https://your-domain/cron/dispatch.php?key=YOUR_CRON_KEY

The setup wizard creates a random key for your store. Keep the URL private. Only the main Administrator can see or change the key.

Check it's running

  • Cron Logs shows "Cron last ran" and every run, with failures first.
  • The dashboard's System health shows whether cron is running.
  • The Finish setup checklist ticks its cron step once runs come in.

Manage the jobs

The one line starts a dispatcher, which runs each job on its own schedule. In Cron Logs you can change a job's schedule, switch a job off, or run it now. The list shows only the jobs of the features on your store.

Some of the jobs on a BidKing Plus store and how often they run by default:

JobDefault
Close ended auctions and declare winnersevery minute
Notify Me emails when an auction startsevery minute
Send queued emailsevery minute
Background jobsevery minute
Translate new contentevery minute
Switch scheduled themesevery minute
Publish scheduled blog postsevery minute
Email campaignsevery 5 minutes
Release unused coupon holdsevery 10 minutes
Refresh payment exchange ratesevery 30 minutes
Report seller sales past their hold period, as a reminder to pay themevery hour
Close support tickets left waitingevery hour
Server checkonce a day
Delete logs older than the periods you setonce a day
Upgrading from an older version?

Older guides had a cron line for each script. Those still work, but the single dispatch.php line replaces all of them.

Something wrong or unclear on this page? Tell us at [email protected], or see how to get help.