monolayer Docs
monolayer Docs
Introduction

Getting Started

Install monolayer in your AWSAdd a GitHub App

User Guide

Platform

PostgresObject StorageTasksCronsRealtimeLifecycle Workloads
Deployment ArchitectureProcfile

Other

Feedbackmonolayer SDK Docsmonolayer.dev
Capabilities

Crons

Schedule recurring jobs directly from your application.

Use Procfile cron processes to schedule recurring commands for server applications.

Features

  • Define cron jobs in your root Procfile.
  • Managed scheduling infrastructure.
  • Standard five-field cron expressions.

Defining Cron Jobs

Define each scheduled command with a process name that starts with cron-, a quoted SCHEDULE value, and the command to run.

Listing 1 defines a command that synchronizes data every 10 minutes.

Listing 1: Scheduling a recurring command
cron-sync: SCHEDULE="*/10 * * * *" npm run sync

For naming, schedule, and command requirements, see Procfile cron processes.

Framework Compatibility Matrix

A consolidated view of framework support:

CapabilityNext.jsReact RouterVite SPAFastAPI
Cron Jobs✅ Procfile✅ Procfile❌✅ Procfile

Tasks

Offload work to background jobs.

Realtime

Add real-time updates to your application frontend.

On this page

FeaturesDefining Cron JobsFramework Compatibility Matrix