Cron Tasks
Scheduled jobs and when they last ran.
Processes any pending background jobs in the database queue.
queue:work --stop-when-empty
Revokes signed download links past their expiry.
qp:expire-download-tokens
Deactivates subscriptions past their expires_at date.
qp:expire-user-packages
Resets base/extra/fair-use quota counters that are due for reset.
qp:reset-package-quotas
Deletes (soft-deletes) unverified accounts past the retention period that also have zero order/subscription/transaction history. Not scheduled - run this deliberately, not routinely.
qp:purge-unverified-users
Deletes member accounts with no sign-in or visit for the time picked below (also in System Options; off by default), created at least that long ago, with no balance, no active package and no bought files. Staff and resellers are never touched.
qp:delete-inactive-users
Permanently deletes unpaid orders (and their invoices/transactions) older than the configured retention period (System Options - 7 days by default).
qp:clear-unpaid-orders
Clears the is_new flag on files past their new-badge window.
qp:reset-new-badges
Re-checks the license key against the configured Cloudflare Worker.
qp:verify-license
Runs a full backup when the admin-configured daily/weekly/monthly schedule says one is due.
qp:run-scheduled-backup
Sends paid service orders to their supplier API and checks the ones in process (every 2 min at first, then less often). Rejected orders are refunded to the wallet.
qp:service-orders
Retries webhook deliveries that failed (after 1 min, 5 min, 30 min, 2 h and 6 h), and once an hour clears deliveries and API log entries older than 30 days.
qp:deliver-webhooks
Closes support tickets that support has answered but the member has not replied to for 7 days, and emails them. Tickets waiting on staff are never closed.
qp:close-stale-tickets
Prunes old login logs, spent download tokens, guest-usage rows, expired sessions and cache rows, web vital beacons, staff activity past the time kept (System Options), read notifications, expired API tokens and old failed jobs, in chunks so it never locks a big table.
qp:cleanup-database
Switches maintenance mode on when the start time set on System - Maintenance has come.
qp:start-scheduled-maintenance
Tells the edge which redirects it may answer near the visitor without asking the main server: old ?a=downloads links, and a guest's Download click while guest downloads are off. Settings saves update it at once.
qp:edge-shortcuts
Runs OPTIMIZE TABLE on the largest tables on MySQL, or refreshes the query planner statistics on D1 (Settings → Cache).
qp:optimize-tables