Scheduled tasks
Use the hosting scheduler to process notifications, due reminders and leaderboard rewards.
The setup wizard runs in the browser. Some features also rely on the hosting scheduler so work can run without a site visit. Each task processes a pass, reports its result and exits.
What the jobs do
| Task | What it does | What to configure first |
|---|---|---|
| Notifications | Queues due reminders and processes SMTP, Discord webhook and Discord bot queues. | Enable the integration and notification settings for its event. |
| Leaderboard rewards | Captures due standings and attempts to deliver queued rewards. | Configure the schedule, rewards and player matching on the leaderboard. |
The notification job processes the active destinations for an event using their queues. Longer intervals can delay delivery. Leaderboards read a live source, so after an outage the scheduler cannot reconstruct historical standings.
Configure your scheduler
Check the PHP CLI version and extensions. An encoded licensed build also needs a compatible ionCube Loader in CLI. Run tasks as the hosting account user. Replace the sample PHP and installation paths with those provided by your host.
/usr/local/bin/ea-php84 /home/account/minexon/core/bin/smtp-worker.php --env=prod
/usr/local/bin/ea-php84 /home/account/minexon/core/bin/console minexon:leaderboard:deliver-rewards --env=prod- cPanel. Add two separate tasks under Cron Jobs. If your host allows a one-minute interval, use
* * * * *in the schedule fields. Enter each command in its own Command field. cPanel Cron Jobs - Plesk. Open Websites & Domains → Scheduled Tasks. For notifications, use Run a PHP script with
minexon/core/bin/smtp-worker.phprelative to your subscription and select the correct PHP version. For leaderboard rewards, create a command task with the PHP executable and command arguments. If the host restricts paths to the subscription, use the paths it supplies. Plesk Scheduling Tasks
Verify the first run
- Use Run Now in Plesk or check your host’s job output. The notification option
--limit=100caps each queue at 100 items per run. The default is also 100. - Trigger an event in a test account. After a scheduler pass, check the right recipient, Discord channel or SMTP delivery.
- For leaderboard rewards, verify the period closing and reward record. Output lists the runs checked, rewards delivered, runs awaiting retry and failures.
If the task reports a missing file, verify the PHP executable and console path. If it runs without a delivery, check the module, template, event and access to the provider. After a hosting move, update the scheduler paths as part of the restore checks.