Sha256: 8255b2807b631587817efee64a042f05de394d05acc1573f1a9bb2eb7e3f0e54

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

unless Workarea.config.skip_service_connections
  if Workarea::FlowIo.credentials.key?(:ftp_username) && Workarea::FlowIo.credentials.key?(:ftp_password)
    Sidekiq::Cron::Job.create(
      name: 'Workarea::FlowIo::FetchImport',
      klass: 'Workarea::FlowIo::FetchImport',
      cron: "0 9 * * * #{Time.zone.tzinfo.identifier}"
    )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-flow_io-1.2.1 config/initializers/scheduled_jobs.rb