mirror of
https://github.com/plashchynski/crono.git
synced 2026-06-11 17:32:45 +02:00
Add option to daemonize
This commit is contained in:
@@ -7,11 +7,13 @@ module Crono
|
||||
attr_accessor :schedule
|
||||
attr_accessor :cronotab
|
||||
attr_accessor :logfile
|
||||
attr_accessor :daemonize
|
||||
|
||||
def initialize
|
||||
self.schedule = Schedule.new
|
||||
self.cronotab = CRONOTAB
|
||||
self.logfile = LOGFILE
|
||||
self.daemonize = false
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user