Sha256: d82d1396b3f5c3c6aa9cea34404528cc77767c9f958872c4495af88d0c78c150
Contents?: true
Size: 476 Bytes
Versions: 13
Compression:
Stored size: 476 Bytes
Contents
#!/usr/bin/env ruby $: << "." unless $:.include?(".") require "bundler/setup" require "watchdocs/rails" require 'recurrent' require 'trollop' begin require 'config/environment' rescue LoadError nil end opts = Trollop::options do opt :every, "Frequency to perform a task", :type => :string end opts.merge!({ ruby: 'Watchdocs::Rails::Recordings.export(from_specs: false)' }) $0 = "recurrent:worker:started-#{Time.now.to_s(:logging)}" Recurrent::Worker.new(opts).start
Version data entries
13 entries across 13 versions & 1 rubygems