Skip to content
Back to resources
Documentation

Cron Jobs and Background Operations

Configure and monitor scheduled workers safely.

Step-by-step procedure

  1. Ask the host for the absolute PHP 8.1+ CLI path.
  2. Use an absolute script path or cd into public_html.
  3. Redirect output to a writable log outside public_html.
  4. Use a one-minute date test to prove cron itself works.
  5. Run the worker manually through CLI when SSH is available.
  6. Check Platform Admin → Cron Jobs & Operations and logs.
  7. Return to the approved schedule after testing.

Communication command

Every 15 minutes: */15 * * * * cd /home/USERNAME/domains/DOMAIN/public_html && /ABSOLUTE/PHP/PATH core/cron/communication-worker.php >> /home/USERNAME/communication-worker.log 2>&1

Operations

Bound batches/runtime, prevent overlap, monitor heartbeat rows and never expose cron secrets.

Before you begin

  • Confirm the active school, branch, session and term.
  • Use your own account and the least required permission.
  • Features depend on subscription and role.
  • Preview and verify before publishing, posting, paying or sending.
Protect school data: Never share passwords, OTPs, provider keys, full payment details or unauthorised student records.

See all articles