Cron settings: Difference between revisions
(Draft page to split out from Cron later) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Location: ''Site administration >Security > Site Policies'' | Location: ''Site administration >Security > Site Policies'' | ||
Moodle has two settings | Moodle has two settings where the site administrator can have some control of how the Moodle cron process is triggered. This is done from the Site Policies link. | ||
[[Image:Moodelcronadmin.png|frame|center|Cron settings in Site Policies]] | [[Image:Moodelcronadmin.png|frame|center|Cron settings in Site Policies]] | ||
Line 8: | Line 8: | ||
==Cron from Command Line Interface only== | ==Cron from Command Line Interface only== | ||
The cronclionly setting will stop the browser URL trigger. | The cronclionly setting will stop the browser URL Moodle cron process trigger. For example, the site administrator or others running '''<nowiki>http:demo.moodle.net/admin/cron.php</nowiki>''' from their web browser. | ||
:''TIP:'' | :''TIP:'' It is a bit misleading to use the term CLI (command line interface). It does not mean that you have to be sitting at a shell account entering the command. It does mean it you must invoke cron.php through any set of batch or script files. This can be especially frustrating for those not used to scripting via the operating system. | ||
See the template on the right for assistance with how to create scripts in different operating systems. | |||
==Cron password== | ==Cron password== | ||
The cron process can be protected by a password with the cronremotepassword setting. | The cron process can be protected by a password with the cronremotepassword setting. | ||
==See also== |
Latest revision as of 14:36, 19 November 2011
Location: Site administration >Security > Site Policies
Moodle has two settings where the site administrator can have some control of how the Moodle cron process is triggered. This is done from the Site Policies link.
Cron from Command Line Interface only
The cronclionly setting will stop the browser URL Moodle cron process trigger. For example, the site administrator or others running http:demo.moodle.net/admin/cron.php from their web browser.
- TIP: It is a bit misleading to use the term CLI (command line interface). It does not mean that you have to be sitting at a shell account entering the command. It does mean it you must invoke cron.php through any set of batch or script files. This can be especially frustrating for those not used to scripting via the operating system.
See the template on the right for assistance with how to create scripts in different operating systems.
Cron password
The cron process can be protected by a password with the cronremotepassword setting.