mirror of
https://github.com/plashchynski/crono.git
synced 2026-06-12 01:34:25 +02:00
Write PID in the daemon mode
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ module Crono
|
||||
|
||||
setup_log
|
||||
|
||||
write_pid unless config.daemonize
|
||||
write_pid if config.daemonize
|
||||
load_rails
|
||||
Cronotab.process(File.expand_path(config.cronotab))
|
||||
print_banner
|
||||
|
||||
Reference in New Issue
Block a user