Method: Flydata::Command::Base#register_crontab
- Defined in:
- lib/flydata/command/base.rb
#register_crontab ⇒ Object
93 94 95 96 97 98 99 100 |
# File 'lib/flydata/command/base.rb', line 93 def register_crontab data_entries = retrieve_data_entries if data_entries.any?{|e| e['log_deletion']} # require on demand to avoid mutual require issue require 'flydata/command/crontab' Flydata::Command::Crontab.new.run end end |