projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c513fe
)
Use new module
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:29:47 +0000
(21:29 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 3 Mar 2009 21:29:47 +0000
(21:29 +0000)
cluster-cron/cluster-cron-lib.pl
patch
|
blob
|
history
diff --git
a/cluster-cron/cluster-cron-lib.pl
b/cluster-cron/cluster-cron-lib.pl
index
cf86cd6
..
c5b1853
100755
(executable)
--- a/
cluster-cron/cluster-cron-lib.pl
+++ b/
cluster-cron/cluster-cron-lib.pl
@@
-2,9
+2,9
@@
# XXX environment variables??
# XXX create script to run, which sets vars and includes input as << ?
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
&init_config();
-do '../ui-lib.pl';
&foreign_require("cron", "cron-lib.pl");
&foreign_require("servers", "servers-lib.pl");