https://github.com/stephane-klein/supercronic-playground
supercronic (https://github.com/aptible/supercronic) playground
https://github.com/stephane-klein/supercronic-playground
cron docker docker-compose
Last synced: 3 months ago
JSON representation
supercronic (https://github.com/aptible/supercronic) playground
- Host: GitHub
- URL: https://github.com/stephane-klein/supercronic-playground
- Owner: stephane-klein
- Created: 2021-02-25T12:53:13.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-25T12:53:45.000Z (over 5 years ago)
- Last Synced: 2025-03-23T04:44:27.764Z (over 1 year ago)
- Topics: cron, docker, docker-compose
- Language: Dockerfile
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# supercronic playground
[supercronic](https://github.com/aptible/supercronic) playground:
```sh
$ docker-compose build
$ docker-compose up -d
$ docker-compose logs -f
Attaching to supercronic-playground_echo-cron_1
echo-cron_1 | time="2021-02-25T12:30:28Z" level=info msg="read crontab: /my-crontab"
echo-cron_1 | time="2021-02-25T12:30:29Z" level=info msg=starting iteration=0 job.command="echo \"hello from Supercronic\"" job.position=0 job.schedule="*/5 * * * * * *"
echo-cron_1 | time="2021-02-25T12:30:29Z" level=info msg="hello from Supercronic" channel=stdout iteration=0 job.command="echo \"hello from Supercronic\"" job.position=0 job.schedule="*/5 * * * * * *"
echo-cron_1 | time="2021-02-25T12:30:29Z" level=info msg="job succeeded" iteration=0 job.command="echo \"hello from Supercronic\"" job.position=0 job.schedule="*/5 * * * * * *"
echo-cron_1 | time="2021-02-25T12:30:35Z" level=info msg=starting iteration=1 job.command="echo \"hello from Supercronic\"" job.position=0 job.schedule="*/5 * * * * * *"
echo-cron_1 | time="2021-02-25T12:30:35Z" level=info msg="hello from Supercronic" channel=stdout iteration=1 job.command="echo \"hello from Supercronic\"" job.position=0 job.schedule="*/5 * * * * * *"
```
```sh
$ docker-compose down
```
Playground todo list:
- [ ] Connect `supercronic` to [Prometheus](https://github.com/prometheus/prometheus)
- [ ] Setup Prometheus container in this playground
- [ ] Connect `supercronic` to [Sentry](https://github.com/getsentry)
- [ ] Setup Sentry container in this playground