The cron job
One line every minute keeps expiry, webhook retries and phone alerts running.
The cron job runs the background work: it expires old payments, retries webhooks, sends phone-offline alerts and cleans up. It should run every minute.
Add it in cPanel
- Open Admin → System → Cron job. It shows the exact command for your hosting, with a Copy button.
- In cPanel open Cron Jobs, choose Once Per Minute
* * * * *, paste the command and press Add New Cron Job.
The command looks like this (your path is different):
php /home/USER/public_html/cron.phpIf your host only allows URLs, use the URL form shown on the same page (it carries a secret key):
curl -s "https://pay.example.com/cron?key=YOUR_CRON_KEY" > /dev/nullCheck that it runs
The Cron job page shows the last run, how it ran (CLI, CGI or URL) and a log of recent runs. Run now starts one run by hand.