2 # This script is part of OMD
9 # Do not edit this file. It will be recreated each time OMD
10 # is started or reloaded.
12 # execute 'omd reload crontab'
13 # to rebuild this file out of %s/etc/cron.d/*
15 # --ENVIRONMENT------------------------------------------------
16 """ % os
.environ
['OMD_ROOT'])
18 sys
.stdout
.write("OMD_ROOT=%s\n" % os
.environ
['OMD_ROOT'])
19 sys
.stdout
.write("OMD_SITE=%s\n" % os
.environ
['OMD_SITE'])
20 sys
.stdout
.write("PATH=%s\n" % os
.environ
['PATH'])
21 sys
.stdout
.write("# ------------------------------------------------------------\n")
24 for fn
in sys
.argv
[1:]:
26 sys
.stdout
.write("# %s\n" % (fn
))
30 sys
.stdout
.write(line
)
31 sys
.stdout
.write("# ------------------------------------------------------------\n")