Fix README.md

This commit is contained in:
Adphi 2018-05-19 15:56:05 +02:00
parent f6ced5456e
commit 640027ffef

View File

@ -1,12 +1,14 @@
# Rails Whenever Dockerfile Demo # Rails Whenever Dockerfile Demo
- [Simple whenever cron job](config/schedule.rb): - [Simple whenever cron job](config/schedule.rb):
``` ```
every 1.minute do every 1.minute do
command "echo Hello >> /app/log/cron.log" command "echo Hello >> /app/log/cron.log"
end end
``` ```
- [Dockerfile](Dockerfile.) : - [Dockerfile](Dockerfile.) :
```dockerfile ```dockerfile
FROM ruby:2.5 FROM ruby:2.5