Configure Dockerfile to Run Cron Tasks using Whenver and Rake2019 Community Moderator ElectionHow to run a cron job inside a docker containerrails, whenever and docker - cron tasks doesn't runHow to run Rake tasks from within Rake tasks?How to pass command line arguments to a rake taskWhy would my rake tasks running via cron get invoked twice?Cron running rake task “could not find rake-0.8.7 in any of the sources”Difference between rake db:migrate db:reset and db:schema:loadCannot run rake task in cronWhat is the difference between CMD and ENTRYPOINT in a Dockerfile?What is the difference between the `COPY` and `ADD` commands in a Dockerfile?rake command not running from cron job but works otherwiseDocker doesn't run both cron and Rails at the sametime
Are all players supposed to be able to see each others' character sheets?
Why does Solve lock up when trying to solve the quadratic equation with large integers?
I can't die. Who am I?
Would an aboleth's Phantasmal Force lair action be affected by Counterspell, Dispel Magic, and/or Slow?
Gaining more land
Should I take out a loan for a friend to invest on my behalf?
Confusion about Complex Continued Fraction
From an axiomatic set theoric approach why can we take uncountable unions?
Why do we say ‘pairwise disjoint’, rather than ‘disjoint’?
Is it a Cyclops number? "Nobody" knows!
Why do phishing e-mails use faked e-mail addresses instead of the real one?
What will happen if my luggage gets delayed?
Making a kiddush for a girl that has hard time finding shidduch
How to write a chaotic neutral protagonist and prevent my readers from thinking they are evil?
Why does cron require MTA for logging?
Virginia employer terminated employee and wants signing bonus returned
Which classes are needed to have access to every spell in the PHB?
What materials can be used to make a humanoid skin warm?
What is the population of Romulus in the TNG era?
After `ssh` without `-X` to a machine, is it possible to change `$DISPLAY` to make it work like `ssh -X`?
Is a piano played in the same way as a harmonium?
The meaning of ‘otherwise’
Can the alpha, lambda values of a glmnet object output determine whether ridge or Lasso?
Expressing logarithmic equations without logs
Configure Dockerfile to Run Cron Tasks using Whenver and Rake
2019 Community Moderator ElectionHow to run a cron job inside a docker containerrails, whenever and docker - cron tasks doesn't runHow to run Rake tasks from within Rake tasks?How to pass command line arguments to a rake taskWhy would my rake tasks running via cron get invoked twice?Cron running rake task “could not find rake-0.8.7 in any of the sources”Difference between rake db:migrate db:reset and db:schema:loadCannot run rake task in cronWhat is the difference between CMD and ENTRYPOINT in a Dockerfile?What is the difference between the `COPY` and `ADD` commands in a Dockerfile?rake command not running from cron job but works otherwiseDocker doesn't run both cron and Rails at the sametime
I want to create a container using Docker which is will be responsible for starting recurrent rake tasks based on the Whenever gem's configuration. I have a plain ruby project (without rails/sinatra) with the following structure:
Gemfile:
source 'https://rubygems.org'
gem 'rake', '~> 12.3', '>= 12.3.1'
gem 'whenever', '~> 0.9.7', require: false
group :development, :test do
gem 'byebug', '~> 10.0', '>= 10.0.2'
end
group :test do
gem 'rspec', '~> 3.5'
end
config/schedule.rb: (whenever's configuration)
ENV.each k, v
every 1.minutes do
rake 'hello:start'
end
lib/tasks/hello.rb: (rake configuration)
namespace :hello do
desc 'This is a sample'
task :start do
puts 'start something!'
end
end
Dockerfile:
FROM ruby:2.5.3-alpine3.8
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever --update-crontab
CMD ['sh', '-c', 'crond && gulp']
I've used the following resources to get at the this point
- How to run a cron job inside a docker container
- https://github.com/renskiy/cron-docker-image/blob/master/alpine/Dockerfile
https://stackoverflow.com/a/43622984/5171758 <- very close to I want but no success
If I call my rake task using command line, I get the result I want.
$ rake 'hello:start'
start something!
However, I can't figure out how to make it work using Docker. The container is build but no log is written, no output is shown, nothing happens. Can someone help me showing what I'm doing wrong?
building commands
docker build -t gsc:0.0.1 .
docker container run -a stdin -a stdout -i --net host -t gsc:0.0.1 /bin/bash
Thanks all. Cheers
ruby docker dockerfile rake whenever
|
show 1 more comment
I want to create a container using Docker which is will be responsible for starting recurrent rake tasks based on the Whenever gem's configuration. I have a plain ruby project (without rails/sinatra) with the following structure:
Gemfile:
source 'https://rubygems.org'
gem 'rake', '~> 12.3', '>= 12.3.1'
gem 'whenever', '~> 0.9.7', require: false
group :development, :test do
gem 'byebug', '~> 10.0', '>= 10.0.2'
end
group :test do
gem 'rspec', '~> 3.5'
end
config/schedule.rb: (whenever's configuration)
ENV.each k, v
every 1.minutes do
rake 'hello:start'
end
lib/tasks/hello.rb: (rake configuration)
namespace :hello do
desc 'This is a sample'
task :start do
puts 'start something!'
end
end
Dockerfile:
FROM ruby:2.5.3-alpine3.8
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever --update-crontab
CMD ['sh', '-c', 'crond && gulp']
I've used the following resources to get at the this point
- How to run a cron job inside a docker container
- https://github.com/renskiy/cron-docker-image/blob/master/alpine/Dockerfile
https://stackoverflow.com/a/43622984/5171758 <- very close to I want but no success
If I call my rake task using command line, I get the result I want.
$ rake 'hello:start'
start something!
However, I can't figure out how to make it work using Docker. The container is build but no log is written, no output is shown, nothing happens. Can someone help me showing what I'm doing wrong?
building commands
docker build -t gsc:0.0.1 .
docker container run -a stdin -a stdout -i --net host -t gsc:0.0.1 /bin/bash
Thanks all. Cheers
ruby docker dockerfile rake whenever
That CMD doesn’t look like what you want; the way you describe your setup you don’t need a cron daemon at all.
– David Maze
Dec 6 '18 at 14:45
@DavidMaze what is your suggestion to an image which will call the rake tasks? I don't see the mistake you've pointed out.
– tmmgarcia
Dec 6 '18 at 14:47
Theconfig/schedule.rb
seems like it would replace a cron daemon (the mention of gulp, a JavaScript build tool, is a little odd too). I’d expect to see some mention ofwhenever
if that’s the tool you’re using.
– David Maze
Dec 6 '18 at 14:49
@DavidMaze I mention whenever at the before last line of the Dockerfile. I think I understood what you mean. I'll give it a go
– tmmgarcia
Dec 6 '18 at 14:57
Another solution is to use the gem arask for recurring tasks. Nothing to setup in docker. You just need to start rails.
– Esben Damgaard
Jan 25 at 14:06
|
show 1 more comment
I want to create a container using Docker which is will be responsible for starting recurrent rake tasks based on the Whenever gem's configuration. I have a plain ruby project (without rails/sinatra) with the following structure:
Gemfile:
source 'https://rubygems.org'
gem 'rake', '~> 12.3', '>= 12.3.1'
gem 'whenever', '~> 0.9.7', require: false
group :development, :test do
gem 'byebug', '~> 10.0', '>= 10.0.2'
end
group :test do
gem 'rspec', '~> 3.5'
end
config/schedule.rb: (whenever's configuration)
ENV.each k, v
every 1.minutes do
rake 'hello:start'
end
lib/tasks/hello.rb: (rake configuration)
namespace :hello do
desc 'This is a sample'
task :start do
puts 'start something!'
end
end
Dockerfile:
FROM ruby:2.5.3-alpine3.8
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever --update-crontab
CMD ['sh', '-c', 'crond && gulp']
I've used the following resources to get at the this point
- How to run a cron job inside a docker container
- https://github.com/renskiy/cron-docker-image/blob/master/alpine/Dockerfile
https://stackoverflow.com/a/43622984/5171758 <- very close to I want but no success
If I call my rake task using command line, I get the result I want.
$ rake 'hello:start'
start something!
However, I can't figure out how to make it work using Docker. The container is build but no log is written, no output is shown, nothing happens. Can someone help me showing what I'm doing wrong?
building commands
docker build -t gsc:0.0.1 .
docker container run -a stdin -a stdout -i --net host -t gsc:0.0.1 /bin/bash
Thanks all. Cheers
ruby docker dockerfile rake whenever
I want to create a container using Docker which is will be responsible for starting recurrent rake tasks based on the Whenever gem's configuration. I have a plain ruby project (without rails/sinatra) with the following structure:
Gemfile:
source 'https://rubygems.org'
gem 'rake', '~> 12.3', '>= 12.3.1'
gem 'whenever', '~> 0.9.7', require: false
group :development, :test do
gem 'byebug', '~> 10.0', '>= 10.0.2'
end
group :test do
gem 'rspec', '~> 3.5'
end
config/schedule.rb: (whenever's configuration)
ENV.each k, v
every 1.minutes do
rake 'hello:start'
end
lib/tasks/hello.rb: (rake configuration)
namespace :hello do
desc 'This is a sample'
task :start do
puts 'start something!'
end
end
Dockerfile:
FROM ruby:2.5.3-alpine3.8
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever --update-crontab
CMD ['sh', '-c', 'crond && gulp']
I've used the following resources to get at the this point
- How to run a cron job inside a docker container
- https://github.com/renskiy/cron-docker-image/blob/master/alpine/Dockerfile
https://stackoverflow.com/a/43622984/5171758 <- very close to I want but no success
If I call my rake task using command line, I get the result I want.
$ rake 'hello:start'
start something!
However, I can't figure out how to make it work using Docker. The container is build but no log is written, no output is shown, nothing happens. Can someone help me showing what I'm doing wrong?
building commands
docker build -t gsc:0.0.1 .
docker container run -a stdin -a stdout -i --net host -t gsc:0.0.1 /bin/bash
Thanks all. Cheers
ruby docker dockerfile rake whenever
ruby docker dockerfile rake whenever
asked Dec 6 '18 at 13:59
tmmgarciatmmgarcia
6327
6327
That CMD doesn’t look like what you want; the way you describe your setup you don’t need a cron daemon at all.
– David Maze
Dec 6 '18 at 14:45
@DavidMaze what is your suggestion to an image which will call the rake tasks? I don't see the mistake you've pointed out.
– tmmgarcia
Dec 6 '18 at 14:47
Theconfig/schedule.rb
seems like it would replace a cron daemon (the mention of gulp, a JavaScript build tool, is a little odd too). I’d expect to see some mention ofwhenever
if that’s the tool you’re using.
– David Maze
Dec 6 '18 at 14:49
@DavidMaze I mention whenever at the before last line of the Dockerfile. I think I understood what you mean. I'll give it a go
– tmmgarcia
Dec 6 '18 at 14:57
Another solution is to use the gem arask for recurring tasks. Nothing to setup in docker. You just need to start rails.
– Esben Damgaard
Jan 25 at 14:06
|
show 1 more comment
That CMD doesn’t look like what you want; the way you describe your setup you don’t need a cron daemon at all.
– David Maze
Dec 6 '18 at 14:45
@DavidMaze what is your suggestion to an image which will call the rake tasks? I don't see the mistake you've pointed out.
– tmmgarcia
Dec 6 '18 at 14:47
Theconfig/schedule.rb
seems like it would replace a cron daemon (the mention of gulp, a JavaScript build tool, is a little odd too). I’d expect to see some mention ofwhenever
if that’s the tool you’re using.
– David Maze
Dec 6 '18 at 14:49
@DavidMaze I mention whenever at the before last line of the Dockerfile. I think I understood what you mean. I'll give it a go
– tmmgarcia
Dec 6 '18 at 14:57
Another solution is to use the gem arask for recurring tasks. Nothing to setup in docker. You just need to start rails.
– Esben Damgaard
Jan 25 at 14:06
That CMD doesn’t look like what you want; the way you describe your setup you don’t need a cron daemon at all.
– David Maze
Dec 6 '18 at 14:45
That CMD doesn’t look like what you want; the way you describe your setup you don’t need a cron daemon at all.
– David Maze
Dec 6 '18 at 14:45
@DavidMaze what is your suggestion to an image which will call the rake tasks? I don't see the mistake you've pointed out.
– tmmgarcia
Dec 6 '18 at 14:47
@DavidMaze what is your suggestion to an image which will call the rake tasks? I don't see the mistake you've pointed out.
– tmmgarcia
Dec 6 '18 at 14:47
The
config/schedule.rb
seems like it would replace a cron daemon (the mention of gulp, a JavaScript build tool, is a little odd too). I’d expect to see some mention of whenever
if that’s the tool you’re using.– David Maze
Dec 6 '18 at 14:49
The
config/schedule.rb
seems like it would replace a cron daemon (the mention of gulp, a JavaScript build tool, is a little odd too). I’d expect to see some mention of whenever
if that’s the tool you’re using.– David Maze
Dec 6 '18 at 14:49
@DavidMaze I mention whenever at the before last line of the Dockerfile. I think I understood what you mean. I'll give it a go
– tmmgarcia
Dec 6 '18 at 14:57
@DavidMaze I mention whenever at the before last line of the Dockerfile. I think I understood what you mean. I'll give it a go
– tmmgarcia
Dec 6 '18 at 14:57
Another solution is to use the gem arask for recurring tasks. Nothing to setup in docker. You just need to start rails.
– Esben Damgaard
Jan 25 at 14:06
Another solution is to use the gem arask for recurring tasks. Nothing to setup in docker. You just need to start rails.
– Esben Damgaard
Jan 25 at 14:06
|
show 1 more comment
1 Answer
1
active
oldest
votes
This is the solution to the problem I listed above. I had some issues at the Dockerfile
and schedule.rb
. This is what I had to change to make it work correctly.
Dockerfile
- wrong echo call
- wrong bundle command
- change ENTRYPOINT instead of CMD
FROM ruby:2.5.3-alpine3.8
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever -c && bundle exec whenever --update-crontab && touch ./log/cron.log
ENTRYPOINT crond && tail -f ./log/cron.log
config/schedule.rb
- no need to
ENV.each
every 1.minutes do
rake 'hello:start'
end
UPDATE
I've created a GitHub repository and a Docker Hub repository to share with the community this progress.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53653071%2fconfigure-dockerfile-to-run-cron-tasks-using-whenver-and-rake%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is the solution to the problem I listed above. I had some issues at the Dockerfile
and schedule.rb
. This is what I had to change to make it work correctly.
Dockerfile
- wrong echo call
- wrong bundle command
- change ENTRYPOINT instead of CMD
FROM ruby:2.5.3-alpine3.8
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever -c && bundle exec whenever --update-crontab && touch ./log/cron.log
ENTRYPOINT crond && tail -f ./log/cron.log
config/schedule.rb
- no need to
ENV.each
every 1.minutes do
rake 'hello:start'
end
UPDATE
I've created a GitHub repository and a Docker Hub repository to share with the community this progress.
add a comment |
This is the solution to the problem I listed above. I had some issues at the Dockerfile
and schedule.rb
. This is what I had to change to make it work correctly.
Dockerfile
- wrong echo call
- wrong bundle command
- change ENTRYPOINT instead of CMD
FROM ruby:2.5.3-alpine3.8
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever -c && bundle exec whenever --update-crontab && touch ./log/cron.log
ENTRYPOINT crond && tail -f ./log/cron.log
config/schedule.rb
- no need to
ENV.each
every 1.minutes do
rake 'hello:start'
end
UPDATE
I've created a GitHub repository and a Docker Hub repository to share with the community this progress.
add a comment |
This is the solution to the problem I listed above. I had some issues at the Dockerfile
and schedule.rb
. This is what I had to change to make it work correctly.
Dockerfile
- wrong echo call
- wrong bundle command
- change ENTRYPOINT instead of CMD
FROM ruby:2.5.3-alpine3.8
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever -c && bundle exec whenever --update-crontab && touch ./log/cron.log
ENTRYPOINT crond && tail -f ./log/cron.log
config/schedule.rb
- no need to
ENV.each
every 1.minutes do
rake 'hello:start'
end
UPDATE
I've created a GitHub repository and a Docker Hub repository to share with the community this progress.
This is the solution to the problem I listed above. I had some issues at the Dockerfile
and schedule.rb
. This is what I had to change to make it work correctly.
Dockerfile
- wrong echo call
- wrong bundle command
- change ENTRYPOINT instead of CMD
FROM ruby:2.5.3-alpine3.8
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/main &&
apk update && apk upgrade &&
apk add build-base bash dcron &&
apk upgrade --available &&
rm -rf /var/cache/apk/* &&
mkdir /usr/app
WORKDIR /usr/app
COPY Gemfile* /usr/app/
RUN bundle install
COPY . /usr/app
RUN bundle exec whenever -c && bundle exec whenever --update-crontab && touch ./log/cron.log
ENTRYPOINT crond && tail -f ./log/cron.log
config/schedule.rb
- no need to
ENV.each
every 1.minutes do
rake 'hello:start'
end
UPDATE
I've created a GitHub repository and a Docker Hub repository to share with the community this progress.
edited Mar 7 at 4:48
answered Feb 7 at 2:23
tmmgarciatmmgarcia
6327
6327
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53653071%2fconfigure-dockerfile-to-run-cron-tasks-using-whenver-and-rake%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
That CMD doesn’t look like what you want; the way you describe your setup you don’t need a cron daemon at all.
– David Maze
Dec 6 '18 at 14:45
@DavidMaze what is your suggestion to an image which will call the rake tasks? I don't see the mistake you've pointed out.
– tmmgarcia
Dec 6 '18 at 14:47
The
config/schedule.rb
seems like it would replace a cron daemon (the mention of gulp, a JavaScript build tool, is a little odd too). I’d expect to see some mention ofwhenever
if that’s the tool you’re using.– David Maze
Dec 6 '18 at 14:49
@DavidMaze I mention whenever at the before last line of the Dockerfile. I think I understood what you mean. I'll give it a go
– tmmgarcia
Dec 6 '18 at 14:57
Another solution is to use the gem arask for recurring tasks. Nothing to setup in docker. You just need to start rails.
– Esben Damgaard
Jan 25 at 14:06