Bug#345930: moodle: upstream suggest cron job should be CLI PHP not a wget process
Package: moodle Version: 1.5.2-1 Severity: normal MartÃn Langhoffmentions in the moodle forums: http://moodle.org/mod/forum/discuss.php?d=37006#170884 One thing that is really important in this case is that you should really run it via cron and php commandline. If you are running the moodle cron via 'wget http://host/moodle/admin/cron.php' then yes, you will have memory problems. Using wget for the cron.php is only for small sites. It would seem that a wget cron job is fine except on big systems. Is there any good reason not to just use the CLI version then? I guess it means a dependency on the php4-cli package but it may also remove a dependency on wget. Just a suggestion. 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-5traditional 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-gd 4:4.3.10-16 GD module for php4 ii php4-pgsql 3:4.3.10-4 PostgreSQL module for php4 ii wget 1.9.1-12retrieves files from the web 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
Bug#345930: moodle: upstream suggest cron job should be CLI PHP not a wget process
Yes, great idea.On 04/01/06, Gavin McCullagh [EMAIL PROTECTED] wrote: Package: moodleVersion: 1.5.2-1Severity: normalMartÃn Langhoffmentions in the moodle forums:http://moodle.org/mod/forum/discuss.php?d=37006#170884 One thing that is really important in this case is that you shouldreally run it via cron and php commandline. If you are running themoodle cron via 'wget http://host/moodle/admin/cron.php' then yes, youwill have memory problems.Using wget for the cron.php is only forsmall sites.It would seem that a wget cron job is fine except on big systems.Is there any good reason not to just use the CLI version then?I guess itmeans a dependency on the php4-cli package but it may also remove adependency on wget.Just a suggestion.Gavin-- System Information: Debian Release: 3.1APT prefers testingAPT policy: (500, 'testing')Architecture: i386 (i686)Kernel: Linux 2.6.11-1-686-smpLocale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages moodle depends on:iiapache2-mpm-prefork [httpd]2.0.54-5traditional model for Apache2iidebconf [debconf-2.0]1.4.30.13 Debian configuration management sy iimimetex1.50-1LaTeX math expressions to anti-aliiiphp4 4:4.3.10-16 server-side, HTML-embedded scriptiiiphp4-gd4:4.3.10-16 GD module for php4 iiphp4-pgsql 3:4.3.10-4PostgreSQL module for php4iiwget 1.9.1-12retrieves files from the webiiwwwconfig-common 0.0.43Debian web auto configuration -- debconf information:* moodle/dbu_name: moodle* moodle/db_server: postgresql* moodle/db_host: localhost* moodle/create_tables:* moodle/webserver: apache2moodle/notconfigured:moodle/mismatch: * moodle/dba_name: postgres