1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-moodle-1.0/root/etc/e-smith/templates/etc/crontab/30moodle mezzanine_patched_smeserver-moodle-1.0/root/etc/e-smith/templates/etc/crontab/30moodle |
2 |
|
|
--- smeserver-moodle-1.0/root/etc/e-smith/templates/etc/crontab/30moodle 2007-07-06 05:45:42.000000000 -0600 |
3 |
|
|
+++ mezzanine_patched_smeserver-moodle-1.0/root/etc/e-smith/templates/etc/crontab/30moodle 2007-09-01 18:54:02.000000000 -0600 |
4 |
|
|
@@ -1,10 +1,10 @@ |
5 |
|
|
-{ |
6 |
|
|
- my $status = $moodle{'status'} || "disabled"; |
7 |
|
|
- return "# moodle is disabled \n" |
8 |
|
|
- unless $status eq 'enabled'; |
9 |
|
|
- |
10 |
|
|
- $OUT = ""; |
11 |
|
|
- $OUT .= "# moodle called each 5 minutes\n"; |
12 |
|
|
- $OUT .= "*/5 * * * * root /usr/bin/php /opt/moodle/html/admin/cron.php >/dev/nul\n"; |
13 |
|
|
- |
14 |
|
|
-} |
15 |
|
|
\ No newline at end of file |
16 |
|
|
+{ |
17 |
|
|
+ my $status = $moodle{'status'} || "disabled"; |
18 |
|
|
+ return "# moodle is disabled \n" |
19 |
|
|
+ unless $status eq 'enabled'; |
20 |
|
|
+ |
21 |
|
|
+ $OUT = ""; |
22 |
|
|
+ $OUT .= "# moodle called each 5 minutes\n"; |
23 |
|
|
+ $OUT .= "*/5 * * * * root /usr/bin/php /opt/moodle/html/admin/cron.php >/dev/null\n"; |
24 |
|
|
+ |
25 |
|
|
+} |