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

Version Path
watchdocs-rails-0.11.2 bin/watchdocs
watchdocs-rails-0.11.1 bin/watchdocs
watchdocs-rails-0.11.0 bin/watchdocs
watchdocs-rails-0.10.0 bin/watchdocs
watchdocs-rails-0.9.0 bin/watchdocs
watchdocs-rails-0.8.0 bin/watchdocs
watchdocs-rails-0.7.0 bin/watchdocs
watchdocs-rails-0.6.0 bin/watchdocs
watchdocs-rails-0.5.0 bin/watchdocs
watchdocs-rails-0.4.6 bin/watchdocs
watchdocs-rails-0.4.5 bin/watchdocs
watchdocs-rails-0.4.4 bin/watchdocs
watchdocs-rails-0.4.3 bin/watchdocs