Dear Inaki,
I'm having the same issues described in this thread, however the task "send_new_user_passwords" is missing from cron all together, and from my scheduled task page in moodle.
I've also tried to run the task scripts via CLI, returning the following errors:
"php5 send_new_user_passwords_task.php" :
PHP Fatal error: Class 'core\task\scheduled_task' not found in /home/onlinei6/public_html/courses/lib/classes/task/send_new_user_passwords_task.php on line 29
"php5 schedule_task.php --list" :
PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/onlinei6/public_html/courses/admin/tool/task/cli/schedule_task.php on line 64
PHP Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/onlinei6/public_html/courses/admin/tool/task/cli/schedule_task.php on line 64
PHP Parse error: parse error, unexpected T_STRING in /home/onlinei6/public_html/courses/admin/tool/task/cli/schedule_task.php on line 64
Do you know how to approach a solution? I'm running moodle version 2.8.1 (Build: 20141113) and my hosted server is running PHP 5.5
Thank you for your time