Class: EcoRake::Lib::People::SyncLaunch
Overview
TODO:
on_error_email to ensure always notified
TODO:
ping some back-end that it was run
- Should be able to log at debug level.
Note:
in integration repos this is used to be called run:hris
Constant Summary collapse
- ADDITIONAL_OPTIONS =
i[only_stats no_policy simulate no_email notify].freeze
- FORWARD_RULES =
{ space: ->(space) { "-space #{space}" }, schema: ->(schema) { "-schema-id \"#{schema}\"" }, only_stats: '-feed-only-stats', no_policy: '-skip-batch-policy', simulate: '-simulate', no_email: '-no-email', notify: '-notify' }.freeze
Constants inherited from EcoRake
Instance Method Summary collapse
Instance Method Details
#task(*_args) ⇒ Object
34 35 36 37 38 39 |
# File 'lib/eco-rake/lib/people/sync_launch.rb', line 34 def task(*_args) return missing_files_notify unless latest_file return process_deltas if delta? process_full_file if full? || delta_last? end |