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

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -