mirror of
https://github.com/plashchynski/crono.git
synced 2026-05-04 06:34:39 +02:00
20 lines
404 B
Ruby
20 lines
404 B
Ruby
module Crono
|
|
class Config
|
|
CRONOTAB = "config/cronotab.rb"
|
|
LOGFILE = "log/crono.log"
|
|
PIDFILE = "tmp/pids/crono.pid"
|
|
|
|
attr_accessor :cronotab
|
|
attr_accessor :logfile
|
|
attr_accessor :pidfile
|
|
attr_accessor :daemonize
|
|
|
|
def initialize
|
|
self.cronotab = CRONOTAB
|
|
self.logfile = LOGFILE
|
|
self.pidfile = PIDFILE
|
|
self.daemonize = false
|
|
end
|
|
end
|
|
end
|