Is it possible to pause and resume rake tasks in rails -


is there option pause , resume rake tasks in rails. i've 1 rake task run every night times needs paused , run one. how can achieve this?

thanking advance.

you can run rake task through cron, recommend use whenever gem that, in rake task can put check match case condition , if satisfy run different rake task saying, check mean put conditional block(if) checks if time condition saying fulfills, fire rake task there , return.

you can share code , exact scenario, more clear way.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -