Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using the legacy cron function #547

Open
michael-milette opened this issue Mar 1, 2023 · 1 comment
Open

Stop using the legacy cron function #547

michael-milette opened this issue Mar 1, 2023 · 1 comment

Comments

@michael-milette
Copy link

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

@michael-milette
Copy link
Author

Note: #548 updates the fix #418 to be compatible with the MOODLE_310_STABLE branch of tool_objectfs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant