From f788b164efd475fbc33832ec49257dfd3c003708 Mon Sep 17 00:00:00 2001 From: Jose Aponte Date: Sat, 2 Mar 2019 21:40:03 -0500 Subject: [PATCH] Update readme file in order to add docs for Docker usages --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 9a284a60..01abd664 100644 --- a/README.md +++ b/README.md @@ -301,6 +301,12 @@ This tells rvm to trust all rvmrc files. No. Heroku does not support cron, instead providing [Heroku Scheduler](https://devcenter.heroku.com/articles/scheduler). If you deploy to Heroku, you should use that rather than Whenever. +### Docker + +If you want to use `whenever' in you dockerized rails app, be sure that you have installed `cron` if not add the following line to you `Dockerfile` + +`apt-get install -y cron` + ### Testing [whenever-test](https://github.com/heartbits/whenever-test) is an extension to Whenever for testing a Whenever schedule.