![]() NOTE: In order to use the web based cron script you must first check Cron settings to make sure this method is permitted. ![]() In particular, suspect an alternate php.ini for the CLI PHP command which may not have suitable settings. Tip:: If you have problems, see the PHP page. If you are not sure about the path to PHP you can type " which php". You can simply type this on the command line this to see if it works. (substitute the correct path to moodle and for php as required) usr/bin/php /path/to/moodle/admin/cli/cron.php ![]() The correct command will be something like. If you have the PHP CLI version installed then this is the recommended method of invoking cron. Most systems with PHP installed will have this by default. Your system needs to be set up to do this specifically you need the 'CLI' version of PHP to be installed. PHP is also capable of running programs directly from the command line. If you have a choice, this is normally the best way to run Moodle cron. 3 Using the crontab program on Unix/Linux.1 Method 1: The command line (cli) cron.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |