Method: CoreCronController#run_now
- Defined in:
- lib/app/controllers/concerns/core_cron_controller.rb
#run_now ⇒ Object
Run the crontab entry now
19 20 21 22 23 24 25 26 |
# File 'lib/app/controllers/concerns/core_cron_controller.rb', line 19 def run_now :read, cron_tab cron_tab.run redirect_to index_path rescue StandardError => error log_controller_error error, true redirect_to index_path end |