Currently, I am thinking of creating a file called app/controller/crawl.rb
and running it regularly on crontab, but is this correct?
Or are there any rules on where to put the files to be executed regularly?
I look forward to hearing from you.
ruby-on-rails ruby
I don't know about the rules, so it's my personal opinion, but I often write them as tasks in lib/tasks
.
scripts/runner
, but
There is a , so I'm going to make it a task.
© 2024 OneMinuteCode. All rights reserved.