# Cron

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

## Fields

- `allowed` (boolean): Whether the customer's package allows cron jobs.
- `cron_tz` (string or null): Value of the CRON_TZ line, or null if the line is absent. Where cron supports CRON_TZ, it sets the time zone for jobs below that line.
- `exists` (boolean): Whether the customer has a crontab.
- `home` (string): Path to the customer's home directory, where cron jobs start.
- `jobs` (array of CronJob)
- `limit` (integer): Maximum number of cron jobs set by the package. A value of 0 means unlimited.
- `mail` (boolean): Whether the server has a mail stack. A mail stack is required to set a recipient email address.
- `mailto` (string or null): Email address that receives cron output, or an empty string to disable delivery. A value of null means the crontab has no MAILTO line and cron sends output to the customer's account.
- `other_lines` (integer): Number of lines other than jobs and MAILTO, such as variable assignments and comments. UrbeStack preserves these lines verbatim.
- `php` (array of object): Full paths to the PHP executables for the versions used by the customer's sites. A cron job that invokes php by name uses the distribution's PHP.
  - `path` (string)
  - `version` (string)
- `server_time` (string): Server local time when the crontab was read, with its UTC offset, for example 2026-10-05T14:36:12+02:00. Cron uses the server's clock.
- `set_aside` (string, one of suspended, package, pending or null): Reason the crontab is set aside and its jobs are stopped. The value is suspended if the account is suspended, package if the package disables cron, pending if the next rebuild will restore the crontab, or null if the crontab is active.
- `set_aside_says` (string)
- `timezone` (string): Name of the server's time zone, for example Europe/Madrid or UTC. Use it with a job's five schedule fields to calculate its next run in the server's time zone.
- `user` (Username): A username consists of lowercase letters, digits and underscores. For the user role, it also serves as the system account name.

## Used by

- [GET /users/{name}/cron](https://urbestack.com/docs/api/get-users-name-cron.md): List a customer's cron jobs
