Schedules
On this page
Run recurring commands on your server on a cron schedule—great for Laravel's scheduler, database backups, or cleanup tasks. Crabsmith only manages the schedules you create here and never touches your existing cron jobs.
Create a schedule

- Open your server's Schedules tab (or a site's Processes tab) and click New schedule.
- Enter a lowercase Name (for example
schedulerorcleanup). - Set the five-field Cron expression (for example
* * * * *to run every minute, or0 3 * * *for 3:00 AM daily). - Enter the one-line Command and an existing Working directory (defaults to
/home/crab, or the site's folder when created from a site). - Leave Enabled checked and click Create schedule.
Good to know:
- Timezone: schedules run in the server's timezone (usually UTC), not your browser's local timezone.
- User & environment: commands run as
crab(neverroot). Your app's.envfile isn't loaded automatically unless your command loads it. - Automatic cron setup: the first time you enable a schedule, Crabsmith installs and starts Ubuntu's
cronservice if it isn't already installed.
Enable, disable, and delete
- Disable: stops future scheduled runs. Any run already in progress finishes normally.
- Edit: update the schedule, command, or directory and click Save schedule.
- Delete: removes only Crabsmith's schedule—your working directory, files, and other cron jobs stay untouched.
Schedules run directly on your server, so they keep running even when you aren't logged into Crabsmith.
View logs
Click Logs on any schedule to see its recent output. If the log is empty, the command either hasn't run yet or didn't print anything.
When something fails
- Check the operation output if saving failed—the most common causes are a typo in the cron expression or a working directory that doesn't exist.
- If a command runs on schedule but fails internally, open Logs to see the error output.
- For server connection issues, see Troubleshooting.