Deploy Simple HTTP Cron
A lightweight web app for scheduling HTTP requests
simple-http-cron
Just deployed
/app/data
Deploy and Host Simple HTTP Cron on Railway
Simple HTTP Cron is a lightweight web app for scheduling HTTP requests using cron expressions. Define jobs with any HTTP method, custom headers, and a request body — then set a cron schedule and let the server fire them automatically.
About Hosting Simple HTTP Cron
Hosting Simple HTTP Cron on Railway involves deploying a single Node.js (Express) service built from the included Dockerfile. The app runs on port 8000 and persists scheduled jobs to a JSON file. This template handles all the setup automatically: it generates random credentials via ${{ secret() }}, mounts a persistent volume at /app/data for db.json, and exposes the service publicly. All routes — including the UI — are protected by HTTP Basic Auth, keeping your scheduler secure from the moment it's deployed.
Common Use Cases
- Webhook automation – fire a POST to a webhook URL (Slack, Discord, n8n, Zapier) on a schedule without a separate cron server
- API polling – periodically call an external REST API to trigger data ingestion or cache invalidation
- Health pings – send a GET request to an uptime-monitoring service (e.g. Better Uptime, UptimeRobot heartbeat) at a fixed interval
Dependencies for Simple HTTP Cron Hosting
- Node.js 18+ – the runtime (provided by the
node:18-alpineDocker image) - Persistent volume – a Railway volume mounted at
/app/datato survive redeploys
Deployment Dependencies
- Node.js 18 Alpine Docker image
- node-cron – in-process cron scheduler
- express-basic-auth – single-user HTTP Basic Auth middleware
- axios – HTTP client used to execute scheduled requests
Implementation Details
This template pre-configures everything out of the box:
ADMIN_USERNAMEandADMIN_PASSWORDare set to random values using${{ secret() }}— no manual credential setup needed.- A persistent volume is already mounted at
/app/datasodb.jsonsurvives redeploys.
After deploying, retrieve your generated credentials from the service's Variables tab to log in to the UI.
Why Deploy Simple HTTP Cron on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Simple HTTP Cron on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
simple-http-cron
guitartsword/simple-http-cron