aboutsummaryrefslogtreecommitdiff
path: root/steuermann
diff options
context:
space:
mode:
Diffstat (limited to 'steuermann')
-rw-r--r--steuermann/run_cron.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/steuermann/run_cron.py b/steuermann/run_cron.py
index 0b137a8..b007d0f 100644
--- a/steuermann/run_cron.py
+++ b/steuermann/run_cron.py
@@ -60,6 +60,9 @@ def main() :
hosts_ini = os.path.join(os.path.dirname(__file__), 'hosts.ini')
+ if os.path.exists(steuermann.config.hosts_config):
+ hosts_ini = steuermann.config.hosts_config
+
runner = steuermann.run.runner( nodes = { node.name : node }, hosts_ini = hosts_ini )
logname = logfile_name = steuermann.config.logdir + '/cron/' + logfile