NodeOps
KR

Scheduling Cron Jobs

Create and manage HTTP cron jobs that call your API endpoints on a schedule.


Create a Cron Job

Interactive

Bash
1createos cronjobs create

The CLI walks you through naming, schedule, HTTP path, and method selection.

Non-interactive

Bash
1createos cronjobs create \
2 --name "nightly-cleanup" \
3 --schedule "0 0 * * *" \
4 --path /api/cleanup \
5 --method POST

List Cron Jobs

Bash
1createos cronjobs list

View Details

Bash
1createos cronjobs get

Shows: name, schedule, HTTP settings, status, last run, and next run.


Update a Cron Job

Bash
1createos cronjobs update --name "new-name" --schedule "*/30 * * * *"

Only the fields you specify are updated — everything else stays the same.


Suspend and Resume

Pause a job without deleting it:

Bash
1createos cronjobs suspend

Resume:

Bash
1createos cronjobs unsuspend

View Execution History

Bash
1createos cronjobs activities

Shows recent runs with status, duration, and HTTP response codes.


Delete a Cron Job

Bash
1createos cronjobs delete

Use --force to skip the confirmation prompt (for CI).


Cron Schedule Syntax

Standard cron expressions:

ExpressionMeaning
* * * * *Every minute
*/5 * * * *Every 5 minutes
0 * * * *Every hour
0 0 * * *Daily at midnight
0 0 * * 1Every Monday at midnight
0 0 1 * *First day of every month

100,000명 이상의 빌더. 하나의 워크스페이스.

제품 업데이트, 빌더 스토리, 더 빠르게 출시할 수 있는 기능에 대한 얼리 액세스를 받아보세요.

CreateOS는 아이디어가 컨셉에서 라이브 배포까지 원활하게 이동하는 통합 지능형 워크스페이스입니다. 도구, 인프라, 워크플로 간의 컨텍스트 전환을 제거하고 CreateOS 마켓플레이스에서 즉시 아이디어를 수익화할 수 있습니다.