Skip to content

Stop using the legacy cron function #547

@michael-milette

Description

@michael-milette

This request is to integrate the change for the issue described in:
#418

Notice: Use of legacy cron is deprecated (tool_objectfs_cron). Please use scheduled tasks.* line 2944 of /lib/deprecatedlib.php: call to debugging()

  • line 172 of /lib/classes/task/legacy_plugin_cron_task.php: call to cron_execute_plugin_type()
  • line 253 of /lib/cronlib.php: call to core\task\legacy_plugin_cron_task->execute()
  • line 120 of /lib/cronlib.php: call to cron_run_inner_scheduled_task()
  • line 73 of /lib/cronlib.php: call to cron_run_scheduled_tasks()
  • line 81 of /admin/cron.php: call to cron_run()
    in /var/www/moodle/lib/weblib.php on line 3268

The Notice appears when cron triggers the Moodle scheduled tasks.

A PR was previously submitted to address this issue. However, it was never integrated into the MOODLE_310_STABLE branch.:
dd33bc8

Best regards,

Michael Milette

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions