Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added CFG->cronpassword for moodle/admin/cron.php

  • Loading branch information...
commit bb5a36e4d5bdddbe6d68d81bf51ffd3347653ca8 1 parent a5fbfa8
martin authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 config-dist.php
View
5 config-dist.php
@@ -70,6 +70,11 @@
$CFG->smtphosts = "mail.example.com";
+// Choose a password to be used by the cron script. This helps avoid
+// any problems caused by someone spamming moodle/admin/cron.php
+
+$CFG->cronpassword = "fr0o6y";
+
// You should not need to change anything else. To continue setting up
// Moodle, use your web browser to go to the moodle/admin web page.
Please sign in to comment.
Something went wrong with that request. Please try again.