2009-02-16 03:24:10 +00:00
|
|
|
require 'chronic'
|
2010-09-06 17:18:39 +00:00
|
|
|
require 'active_support/all'
|
2011-05-25 02:07:14 +00:00
|
|
|
require 'thread'
|
2009-02-16 03:24:10 +00:00
|
|
|
|
2009-10-20 17:42:09 +00:00
|
|
|
require 'whenever/job_list'
|
2010-06-28 19:14:01 +00:00
|
|
|
require 'whenever/job'
|
2010-09-06 17:18:39 +00:00
|
|
|
require 'whenever/cron'
|
|
|
|
require 'whenever/output_redirection'
|
2009-10-20 17:42:09 +00:00
|
|
|
require 'whenever/command_line'
|
2010-10-26 00:41:57 +00:00
|
|
|
require 'whenever/version'
|
|
|
|
|
|
|
|
module Whenever
|
|
|
|
|
|
|
|
def self.cron(options)
|
|
|
|
Whenever::JobList.new(options).generate_cron_output
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.path
|
|
|
|
Dir.pwd
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|