Skip to content

Cron Jobs

Pulsabase allows you to schedule any edge function using standard cron expression syntax. Scheduled jobs run on the backend — no client needs to be online.

  1. Go to Dashboard → Edge Functions → Cron
  2. Click New Cron Job
  3. Select the function to invoke
  4. Enter a cron expression
  5. (Optional) Define a fixed payload to pass to the function on each invocation
  6. Save — the job starts immediately
┌───────────── minute (0–59)
│ ┌─────────── hour (0–23)
│ │ ┌───────── day of month (1–31)
│ │ │ ┌─────── month (1–12)
│ │ │ │ ┌───── day of week (0–6, 0=Sunday)
│ │ │ │ │
* * * * *
ExpressionMeaning
0 9 * * *Every day at 09:00 UTC
0 * * * *Every hour on the hour
*/15 * * * *Every 15 minutes
0 0 * * 1Every Monday at midnight
0 0 1 * *First day of every month
30 8 * * 1-5Monday–Friday at 08:30 UTC
Use CaseCron ExpressionFunction
Daily digest email0 8 * * *send-daily-digest
Expire trial accounts0 0 * * *expire-trials
Sync external API data0 */4 * * *sync-external-api
Weekly report0 9 * * 1generate-weekly-report
Cleanup old sessions0 2 * * *cleanup-sessions

Every cron execution creates an entry in the Executions log with the following metadata:

  • Trigger type: cron
  • Cron expression
  • Execution status (success / error)
  • Duration
  • Function input/output

Navigate to Dashboard → Edge Functions → Executions and filter by trigger type cron to monitor scheduled jobs.

Toggle cron jobs on/off from the Dashboard → Edge Functions → Cron page without deleting them. Paused jobs retain their configuration and history.