Several years ago, we decided to move the task sending forum notifications (mails) from the "master cron" to our own schedule task execution using this kind of command :
/usr/bin/php /var/www/moodle/admin/tool/task/cli/schedule_task.php --execute='\mod_forum\task\cron_task'
At this time, this only task would tag and send all messages from the forums. Yesterday, we found that this job was splited some month ago. Now, the \mod_forum\task\cron_task only "tag" messages to be sent. They are really sent in the "master cron", thank to this job :
Execute adhoc task: mod_forum\task\send_user_notifications
I tried to disable this job from the master cron in order to run it with \mod_forum\task\cron_task, but I'm not able to find it in the scheduledtasks.php admin page. Moreover, when I try to run it, I have this error :
/usr/bin/php /var/www/moodle/admin/tool/task/cli/schedule_task.php --execute='\mod_forum\task\send_user_notifications'
Task '\mod_forum\task\send_user_notifications' not found
Can you help me with this problem ? I hope I had been understandable
Cheers,