/[smecontribs]/rpms/smeserver-moodle/contribs7/smeserver-moodle-1.0-cronstatus.patch
ViewVC logotype

Contents of /rpms/smeserver-moodle/contribs7/smeserver-moodle-1.0-cronstatus.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Nov 25 16:20:26 2008 UTC (15 years, 5 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

1 --- smeserver-moodle-1.0/root/etc/e-smith/templates/etc/crontab/30moodle.cronstatus 2008-10-10 10:28:00.000000000 +1100
2 +++ smeserver-moodle-1.0/root/etc/e-smith/templates/etc/crontab/30moodle 2008-10-10 10:30:56.000000000 +1100
3 @@ -3,6 +3,10 @@
4 return "# moodle is disabled \n"
5 unless $status eq 'enabled';
6
7 + my $cron = $moodle{'cron'} || "enabled";
8 + return "# moodle cron job is disabled \n"
9 + unless $cron eq 'enabled';
10 +
11 $OUT = "";
12 $OUT .= "# moodle called each 5 minutes\n";
13 $OUT .= "*/5 * * * * root /usr/bin/php /opt/moodle/html/admin/cron.php >/dev/null\n";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed