Skip to content

Cron Jobs

Vessl allows you to define and schedule Cron Jobs to run commands on a recurring basis within your project environments.

You can create a job directly from the Vessl dashboard:

  1. Navigate to your project.
  2. Go to the Jobs tab.
  3. Click New Job.
  4. Enter a Name for your job (e.g., daily-report, db-cleanup).
  5. Provide a valid Cron Schedule (e.g., 0 0 * * * for midnight every day).
  6. Enter the Command to execute.
  7. Click Create.

When a job triggers, Vessl provisions a temporary container environment with access to:

  • Your project’s environment variables.
  • Linked databases via standard connection strings (e.g., DATABASE_URL).
  • Shared persistent storage volumes (if attached).

The container executes the defined command, logs the output, and terminates immediately once finished.

In the Jobs tab, you can view:

  • The Status of the job (Active, Paused, Running, Failed).
  • Last Run At timestamp.
  • Last Output for debugging issues from the most recent execution.

Vessl will automatically alert you via your configured Notification channels (Discord, Slack, Email) if a scheduled job fails to execute properly.