Deploy Cron Rust

Cron Rust Runner — ultra-light HTTP schedule second precision - light cron

Deploy Cron Rust

Just deployed

Cron Runner (Rust)

For lightweight HTTP scheduling with second-level precision on Railway, use Cron Rust. One persistent Rust process reads six-field cron expressions from CRON_JOBS and sends the configured HTTP requests with an X-Cron-Secret header. Choose it when you need scheduled API calls rather than a visual workflow platform. Keep it running as a service, not as a Railway cron job or a sleeping process.

Why use it

  • Schedule HTTP jobs with second-level precision.
  • Replace heavy schedulers with a single tiny binary.
  • Centralize recurring API calls

How to Deploy

  1. Click Deploy on Railway.
  2. Set environment variables:
    • SECRET: shared secret sent as X-Cron-Secret.
    • CRON_JOBS: your job list (see below).
  3. Deploy as a persistent service (not a Railway cron).

Environment Variables

SECRET – required
Shared secret included as X-Cron-Secret.

CRON_JOBS – required
Jobs separated by ; or new lines.
Format: METHOD|URL|CRON_EXPR|HEADERS|BODY

  • METHOD: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
  • URL: full HTTP(S) endpoint
  • CRON_EXPR: 6-field cron (supports seconds)
  • HEADERS: comma-separated Name:Value pairs, separated by commas (optional)
  • BODY: raw string (optional)

Example

GET|https://httpbingo.org/status/204|0 * * * * *||
POST|https://httpbin.org/post|*/30 * * * * *|Content-Type:application/json,Authorization:Bearer XYZ|{"ping":true}

Logs

Each run outputs one line:

YYYY-MM-DDTHH:MM:SSZ | OK | METHOD URL | STATUS
YYYY-MM-DDTHH:MM:SSZ | FAIL | METHOD URL | transport error: ...

Tech Stack

Rust + ureq (sync, minimal)
cron crate for per-second scheduling

Other deployment choices from this publisher


Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
121
View Template
Evolution API with n8n
Automate WhatsApp workflows with Evolution API, n8n, and Postgres.

codestorm
113
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates
866