Back to documentation
Cron Jobs

Scheduling Cron Jobs

Create and manage scheduled tasks on your server without cron syntax.

Intermediate6 min readUpdated 2024-02-01

What are cron jobs?

Cron jobs are scheduled tasks that run automatically. Common uses:

  • Database backups
  • Log rotation
  • Cache clearing
  • Health checks
  • Data synchronization

Creating a cron job

  1. Go to the Cron Jobs tab
  2. Click "Add Cron Job"
  3. Choose from templates or create custom
  4. Set the schedule using the visual picker
  5. Enter the command to run
  6. Click "Save"

Visual schedule picker

Set schedules without cron syntax:

  • Frequency: Every minute, hour, day, week, month
  • Time: Select specific time
  • Days: Choose days of week/month
  • Preview: See human-readable schedule

Cron job templates

Pre-built templates for common tasks:

  • Backup database to file
  • Clear application cache
  • Rotate log files
  • Run health checks
  • Sync data between services

Viewing logs

Monitor cron job execution:

  1. Click on a cron job
  2. View execution history
  3. See output and errors
  4. Check success/failure status

Screenshots

Scheduling Cron Jobs - Screenshot 1
Scheduling Cron Jobs - Screenshot 2
Scheduling Cron Jobs - Screenshot 3
Scheduling Cron Jobs - Screenshot 4

Screenshots may vary slightly from the current version

Video Tutorials

Related Features

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes. No terminal knowledge required.