ruby on rails - Running a job right now using whenever? -
currently, using whenever gem schedule task such:
every :reboot script_runner "lib/initialize.rb" end
however, want run task once (ideally when person types whenever -i) instead of running on every reboot. there way achieve this? have checked documentation on https://github.com/javan/whenever couldn't find solution.
Comments
Post a Comment