/[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.1 - (hide annotations) (download)
Thu Oct 9 23:40:01 2008 UTC (15 years, 7 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-moodle-1_0-11_el4_sme
* Fri Oct 10 2008 Stephen Noble <support@dungog.net> 1.0-11
- 'config setprop moodle cron disabled' to stop moodle cron job

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