aboutsummaryrefslogtreecommitdiffstats
path: root/bin/cron-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'bin/cron-wrapper')
-rwxr-xr-xbin/cron-wrapper9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/cron-wrapper b/bin/cron-wrapper
new file mode 100755
index 000000000..b93695cb0
--- /dev/null
+++ b/bin/cron-wrapper
@@ -0,0 +1,9 @@
+#!/usr/bin/env perl
+
+BEGIN { # set all the paths to the perl code
+ use FindBin;
+ require "$FindBin::Bin/../setenv.pl";
+}
+
+exec { $ARGV[0] } @ARGV;
+