Fix README.md
This commit is contained in:
parent
f6ced5456e
commit
640027ffef
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user