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

Annotation 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 - (hide annotations) (download)
Tue Nov 25 16:20:26 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

1 dungog 1.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