Servers
Cron Jobs
Run commands on a schedule, such as a Laravel scheduler, a cleanup script, or a nightly report.
Open a server and select CronJobs in the sidebar to see every cron job on the server, including the site each one belongs to. A site's own cron jobs are also listed under CronJobs in that site's sidebar.
Create a cron job
- Click Add New.
- Fill in the form:
| Field | Description |
|---|---|
| Name (optional) | A label to recognise the job, for example Laravel scheduler. |
| Command | The command to run, for example php /home/jarvis/example.com/artisan schedule:run. |
| Frequency | How often it runs. |
| Custom frequency (crontab) | Shown when Frequency is Custom. A crontab expression, for example */5 * * * * for every five minutes. |
| User | The server user the command runs as. |
- Click Save.
Frequencies
| Frequency | Crontab |
|---|---|
| Every Minute | * * * * * |
| Hourly | 0 * * * * |
| Daily | 0 0 * * * |
| Weekly | 0 0 * * 0 |
| Monthly | 0 0 1 * * |
| Custom | Your own expression |
Manage a cron job
Open the actions menu on a cron job to:
- Edit its command, frequency, or user.
- Disable it to stop it running without deleting it, and Enable it again later.
- Delete it. This can't be undone.
Sync cron jobs from the server
If cron jobs were added directly on the server, for example with crontab -e, click Sync to import them into Jarvisway so you can manage them here.
Statuses
| Status | Meaning |
|---|---|
| Creating, Updating | The change is being written to the server. |
| Ready | The job is active and runs on schedule. |
| Enabling, Disabling | The change is being applied. |
| Disabled | The job is saved but doesn't run. |
| Deleting | The job is being removed. |

