https://github.com/fly-apps/supercronic
Run periodic jobs on Fly with supercronic
https://github.com/fly-apps/supercronic
Last synced: over 1 year ago
JSON representation
Run periodic jobs on Fly with supercronic
- Host: GitHub
- URL: https://github.com/fly-apps/supercronic
- Owner: fly-apps
- Created: 2022-01-27T01:46:39.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-27T01:47:09.000Z (over 4 years ago)
- Last Synced: 2025-01-17T18:56:38.168Z (over 1 year ago)
- Language: Dockerfile
- Size: 1000 Bytes
- Stars: 31
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Periodic jobs on Fly.io with Supercronic
Evenutally, Fly.io will offer native periodic jobs. For now, it's simple to add this behavior to your app using the excellent
[Supercronic](https://github.com/aptible/supercronic) tool. It works like cron but designed for container-like environments
where only one process will be running, logging to stdout.
Check out the Dockerfile here and swipe the contents to try it out on your app. You'd probably want to deploy a separate app
on Fly to run these jobs in a single VM.