Help & documentation
Guides, references and troubleshooting for TDesk.

Scheduled tasks (cron)

Run commands on a schedule — cache warmers, feed imports, cleanup scripts — without server access.

Adding a task

  1. Open the domain and go to its Cron tab (or Settings → Cron for account-level tasks)
  2. Enter the command — e.g. php /httpdocs/cron.php
  3. Pick the schedule (every N minutes, hourly, daily at a set time)

Tasks run as your account user, isolated to your files — same permissions as the file manager.

Pausing and removing

Each task has a toggle to pause it without deleting, and a delete action. Pause first when debugging — it keeps the schedule for when you switch it back on.

Good practice

  • Don't schedule heavy jobs every minute — most things are fine hourly
  • Make scripts log to a file so you can see they ran
  • Long-running tasks should lock against overlapping runs