NodeOps
UK

CreateOS CLI / Schedule Cron Jobs

Schedule and Manage Cron Jobs from Your Terminal

Create, update, suspend, and monitor HTTP cron jobs with full execution history. No crontab editing, no external services.

$ createos cronjobs create

How to schedule cron jobs

1

Create a cron job

$ createos cronjobs create --name cleanup --schedule "0 * * * *" --path /api/cleanup

Schedules an HTTP request to your endpoint on a cron schedule.

2

List all cron jobs

$ createos cronjobs list

Shows all scheduled jobs with their status and next run time.

3

View execution history

$ createos cronjobs activities

Shows recent executions with status codes, duration, and timestamps.

4

Suspend a job

$ createos cronjobs suspend

Pauses a job without deleting it. Resume with createos cronjobs unsuspend.

Flags and options

FlagDescription
--name <name>Job name
--schedule <cron>Cron expression (e.g., '0 * * * *' for hourly)
--path <path>HTTP path to call (must start with /)
--method <method>HTTP method: GET, POST, PUT, DELETE (default: GET)

Examples

# Run every hour

$ createos cronjobs create --name hourly-check --schedule "0 * * * *" --path /api/health

# Run daily at midnight

$ createos cronjobs create --name nightly-cleanup --schedule "0 0 * * *" --path /api/cleanup --method POST

# Run every 5 minutes

$ createos cronjobs create --name ping --schedule "*/5 * * * *" --path /api/ping

# Suspend during maintenance

$ createos cronjobs suspend

Frequently asked questions

What cron schedule formats are supported?
Standard 5-field cron expressions: minute, hour, day of month, month, day of week. Examples: '0 * * * *' (hourly), '0 0 * * *' (daily), '*/5 * * * *' (every 5 minutes), '0 0 * * 1' (weekly on Monday).
Can I see if my cron job ran successfully?
Yes. Run createos cronjobs activities to see recent executions with HTTP status codes, response times, and timestamps. Failed executions are clearly marked.
How do I temporarily stop a cron job?
Use createos cronjobs suspend to pause a job without deleting it. The configuration is preserved. Resume with createos cronjobs unsuspend.
Do I need an external service for cron jobs?
No. CreateOS handles scheduling, execution, monitoring, and history natively. No need for cron-job.org, EasyCron, or GitHub Actions for scheduled tasks.

Get started with CreateOS CLI

$ brew install createos

100,000+ Builders. One Workspace.

Get product updates, builder stories, and early access to features that help you ship faster.

CreateOS is a unified intelligent workspace where ideas move seamlessly from concept to live deployment, eliminating context-switching across tools, infrastructure, and workflows with the opportunity to monetize ideas immediately on the CreateOS Marketplace.