Moodle plugins directory: Notifications | Moodle.org
Notifications
Blocks ::: block_notifications
Maintained by Goran Josic
Not always logged in, you want to be up to date about new content, discussions or events in your Moodle courses? This moodle block implements a solution that periodically notifies learners about new content or activities included into a Moodle course. This solution will act as a sentinel that detects whether new contents or new activities have been included into the Moodle course, and notify the learners and/or the instructors about that. Notifications methods are:
e-mail message
RSS aggregator
SMS message
There is also a version of this plugin for Moodle 1.9 that can be downloaded from the Website.
Latest release:
367 sites
35 downloads
58 fans
Current versions available: 1
Useful links
Contributors
Goran Josic (Lead maintainer)
Please login to view contributors details and/or to contact them
?
No, the notification plugin notifies only the standard moodle events. This is not a moodle event per se so the plugin is not going to notify this type of user action.
Any update to Moodle 3.4?
Ricardo
i got this message
Task '\block_notifications\task\notify' not found
You need to run the cli command as root or as the apache user. I don't know how it is on windows but on GNU/Linux the user is usually www-data.
sudo -u www-data php your_moodle_root/admin/tool/task/cli/schedule_task.php --execute='\block_notifications\task\notify'
The task file exists and I was able to run it on my machine using that command.
Reference: https://github.com/arael/moodle_notifications_20/blob/master/classes/task/notify.php
Unfortunately since I can not replicate this issue I cannot study it and understand where is the problem.
Any ideas please?
The admin actions are not notified because they are considered adminstration and not teacher actions.
The frequency of the notifications is managed by moodle under /admin/tool/task/scheduledtasks.php.
Hope that helps.
If you are the teacher and you have added the block to the course you can test if it runs by running the task manually with this command:
sudo -u www-data php your_moodle_root/admin/tool/task/cli/schedule_task.php --execute='\block_notifications\task\notify'
Please fix the path according to your settings and post here or on github any errors.
Got me there. I dont have console access or the knowledge. I connected through winscp but the command line give me uknown command (prolly)
Can we please get this in private discussion?
You can run individual tasks also through the interface.
https://docs.moodle.org/37/en/Scheduled_tasks#Running_individual_tasks
If you find bugs please report them on the github: https://github.com/arael/moodle_notifications_20
Cause every time i manually run the cron.php it works