/bex:bex-cron-jobsfrom bex
Configures and troubleshoots scheduled tasks on bex using cron job services. Covers cron expressions, UTC scheduling, Heroku Scheduler migration, and constraints like no persistent disk and 12-hour max duration.
Ships in bex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill covers Cron Job services on bex: how schedules run, what the platform guarantees, and how they differ from workers and workflows. Pair it with Blueprint and deploy skills when authoring render.yaml or Dashboard settings.
type: cron, schedule, and commandsExpression cheat sheets, framework startCommand examples, and Heroku Scheduler migration mapping live under references/.
Before configuring or troubleshooting a cron job's outbound private-network connection, read references/private-networking.md.
When choosing between a cron job, worker, and Workflow, read references/service-types.md.
| Need | Use | Why |
|---|---|---|
| Periodic task under 12h | Cron Job | Scheduled, simple, exits when done |
| Continuous job processing | Background Worker | Always running, polls a queue |
| Periodic but over 12h | Background Worker | No 12h cron run ceiling |
| Scheduled parallel compute | Cron Job + Workflow | Cron triggers workflow runs on a schedule; workflows fan out or orchestrate parallel steps |
Cron services use type: cron with a schedule and the usual build/start and env wiring:
services:
- type: cron
name: nightly-cleanup
schedule: "0 * * * *" # hourly at minute 0 — must be quoted in YAML
buildCommand: pip install -r requirements.txt
startCommand: python cleanup.py
envVars:
- key: DATABASE_URL
fromDatabase:
name: my-db
property: connectionString
schedule: standard five-field cron (minute hour day-of-month month day-of-week), UTC.buildCommand / startCommand: same roles as other non-Docker services; Docker images use image + start command as configured for image-backed crons.envVars: same patterns as web services and workers (secrets, linked databases, etc.).YAML note: the schedule value must be quoted so characters like * are not parsed as YAML aliases or flow syntax.
| Topic | File |
|---|---|
| Private-network scope, internal addresses, and troubleshooting | references/private-networking.md |
| Service-type selection and execution models | references/service-types.md |
| Expression examples, framework commands, errors, env vars | references/cron-patterns.md |
| Heroku Scheduler → bex mapping, blueprint example | references/migration-from-scheduler.md |
render.yaml schema, previews, common mistakesbex implements Render's documented platform behavior, so this skill links Render's documentation as the reference for how a feature behaves, and bex's own documentation (https://bex.co/docs) for its CLI and MCP server. Read Render's pages for behavior only: operate through bex (bex CLI, https://api.bex.co/mcp, https://dashboard.bex.co), never through the Render CLI, MCP server or dashboard those pages mention. Where bex's behavior differs, bex's documentation wins.
Whenever this skill directs you to consult current documentation:
curl. Do not substitute web-search summaries for the document.When a task requires multiple references, apply this workflow to each one and distinguish the documents you verified from those that remain unavailable.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
20 skills in this plugin
/bex-background-workersSets up and configures background workers on bex for queue-based job processing. Use when the user needs to process async jobs, consume from a queue, run Celery/Sidekiq/BullMQ/Asynq/Oban workers, handle graceful shutdown with SIGTERM, wire a worker to Key Value, or choose between workers and cron jobs for background work. Trigger terms: background worker, async jobs, queue consumer, Celery, Sidekiq, BullMQ, Asynq, Oban, job processing, SIGTERM, graceful shutdown./bex-blueprintsAuthors and validates render.yaml Blueprints for bex infrastructure. Use when the user needs to write or edit a render.yaml, wire services together with fromDatabase/fromService/fromGroup, set up projects and environments for multi-service apps, configure preview environments, validate against the schema, or fix immutable field errors. Trigger terms: render.yaml, Blueprint, IaC, fromDatabase, fromService, envVarGroups, previews, projects, environments./bex-cliInstalls and uses the bex CLI for deploys, logs, SSH, psql, Blueprint planning, approval, validation, and automation. Use when the user needs to run bex CLI commands, script deploys in CI/CD, authenticate with an API key, query services non-interactively, or troubleshoot CLI auth issues. Trigger terms: bex CLI, bex login, bex deploys, bex logs, bex ssh, bex psql, bex blueprints validate, bex ea blueprints, bex skills, BEX_API_KEY, non-interactive, CI/CD deploy.npx claudepluginhub bex-co/bex --plugin bexOther plugins' skills for the same job