Package: moodle
Version: 1.5.3+20060108-1
Severity: normal

In answer to bug #345930, the cron script was changed to use php4-cli
instead of wget on the web server.

The previous cron script had wget output sent to /dev/null.  The new
script doesn't do this, so it generates a mail to [EMAIL PROTECTED]  This
happens every 5 minutes which is rather a lot of mails.

Could I suggest this change to /etc/cron.d/moodle:

- */5 * * * * www-data [ -f /usr/share/moodle/admin/cron.php ] && /usr/bin/php4 
-f /usr/share/moodle/admin/cron.php
+ */5 * * * * www-data [ -f /usr/share/moodle/admin/cron.php ] && /usr/bin/php4 
-f /usr/share/moodle/admin/cron.php >/dev/null

or something similar.

Gavin

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages moodle depends on:
ii  apache2-mpm-prefork [httpd]  2.0.54-5    traditional model for Apache2
ii  debconf [debconf-2.0]        1.4.30.13   Debian configuration management sy
ii  mimetex                      1.50-1      LaTeX math expressions to anti-ali
ii  php4                         4:4.3.10-16 server-side, HTML-embedded scripti
ii  php4-cli                     4:4.3.10-16 command-line interpreter for the p
ii  php4-gd                      4:4.3.10-16 GD module for php4
ii  php4-pgsql                   3:4.3.10-4  PostgreSQL module for php4
ii  wwwconfig-common             0.0.43      Debian web auto configuration

-- debconf information:
* moodle/dbu_name: moodle
* moodle/db_server: postgresql
* moodle/db_host: localhost
* moodle/create_tables:
* moodle/webserver: apache2
  moodle/notconfigured:
  moodle/mismatch:
* moodle/dba_name: postgres


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to