2011년 9월 6일 화요일

How to use 'e-Mail Notification & cron.php '

I have been trying to find out how to use 'e-Mail Notification on moodle'.
Finally, I've found out that.
Let me describe about that,

-  e-Mail Notification is working when cron.php is working.
1. You need to configure 'crontab' to use cron scheduling.
    in command line,
    # sudo crontab -e -u root

2. Choose editor whatever you want

3. add this line,

    min hour day month week  command

    */2 * * * * php /var/www/moodle/admin/cli/cron.php

4. Restart cron,
    # sudo /etc/init.d/cron restart

that's all


   

댓글 없음:

댓글 쓰기