https://github.com/tiagomenegaz/ruby-rake-cron
This Docker image is a plain ruby image with an additional configuration to run Rake tasks.
https://github.com/tiagomenegaz/ruby-rake-cron
cron docker rake ruby whenever
Last synced: 2 months ago
JSON representation
This Docker image is a plain ruby image with an additional configuration to run Rake tasks.
- Host: GitHub
- URL: https://github.com/tiagomenegaz/ruby-rake-cron
- Owner: tiagomenegaz
- License: mit
- Created: 2019-03-07T02:54:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-07T04:43:05.000Z (over 7 years ago)
- Last Synced: 2025-05-16T16:11:31.613Z (about 1 year ago)
- Topics: cron, docker, rake, ruby, whenever
- Language: Ruby
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RRC Ruby Rake Cron
This Docker image is a plain ruby image with an additional configuration to run Rake tasks.
You can build this image using
```
docker build -t rrc-0.0.1 .
```
And run it using
```
docker container run --rm -a stdin -a stdout -it rrc-0.0.1
```
When your container is up and running your rake taks will be called according to `config/schedule.rb`. You can also bash into the container to see what is happening. For example, this task `example:second:write_file` writes in a file every time it is called. You can cat the result file to see the result. Right now, I haven't implemented a good log message configuration. I hope to do it soon.
Please feel free to fork it or submitting an issue.