Wunderbyte-GmbH / moodle-mod_newsletter

Native Moodle newsletter module
6 stars 6 forks source link

cron errors #21

Closed ewallah closed 9 years ago

ewallah commented 9 years ago

I only got cron working after doing some modifications :

lib.php: --require_once( 'cron_helper.php'); ++require_once($CFG->dirroot . '/mod/newsletter/cron_helper.php'); cron_helper::lock(); --require_once( 'locallib.php'); ++require_once($CFG->dirroot . '/mod/newsletter/locallib.php'); cron_helper.php --$lock_file = NEWSLETTER_LOCK_DIR . '/' . $argv[0] . NEWSLETTER_LOCK_SUFFIX; ++$lock_file = NEWSLETTER_LOCK_DIR . '/' . NEWSLETTER_LOCK_SUFFIX;

Moodle 2.9.2+

dasistwas commented 9 years ago

Hi, thank you for pointing out the problems. Should be solved with: https://github.com/dasistwas/moodle-mod_newsletter/commit/fb45cb708f75db13f0267096857dcd7c38ff0155

Kind regards, David