{"action":"created","issue":{"url":"https://api.github.com/repos/turnitin/moodle-plagiarism_turnitin/issues/62","labels_url":"https://api.github.com/repos/turnitin/moodle-plagiarism_turnitin/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/turnitin/moodle-plagiarism_turnitin/issues/62/comments","events_url":"https://api.github.com/repos/turnitin/moodle-plagiarism_turnitin/issues/62/events","html_url":"https://github.com/turnitin/moodle-plagiarism_turnitin/issues/62","id":125577366,"number":62,"title":"Move from cron to new scheduled tasks system","user":{"login":"micaherne","id":516366,"avatar_url":"https://avatars.githubusercontent.com/u/516366?v=3","gravatar_id":"","url":"https://api.github.com/users/micaherne","html_url":"https://github.com/micaherne","followers_url":"https://api.github.com/users/micaherne/followers","following_url":"https://api.github.com/users/micaherne/following{/other_user}","gists_url":"https://api.github.com/users/micaherne/gists{/gist_id}","starred_url":"https://api.github.com/users/micaherne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaherne/subscriptions","organizations_url":"https://api.github.com/users/micaherne/orgs","repos_url":"https://api.github.com/users/micaherne/repos","events_url":"https://api.github.com/users/micaherne/events{/privacy}","received_events_url":"https://api.github.com/users/micaherne/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T09:47:18Z","updated_at":"2016-01-08T10:47:27Z","closed_at":"2016-01-08T10:47:27Z","body":"It would be good if this plugin could support the new scheduled tasks system that was introduced in Moodle 2.7 (https://docs.moodle.org/30/en/Scheduled_tasks), which supersedes the legacy cron system."},"comment":{"url":"https://api.github.com/repos/turnitin/moodle-plagiarism_turnitin/issues/comments/169961561","html_url":"https://github.com/turnitin/moodle-plagiarism_turnitin/issues/62#issuecomment-169961561","issue_url":"https://api.github.com/repos/turnitin/moodle-plagiarism_turnitin/issues/62","id":169961561,"user":{"login":"micaherne","id":516366,"avatar_url":"https://avatars.githubusercontent.com/u/516366?v=3","gravatar_id":"","url":"https://api.github.com/users/micaherne","html_url":"https://github.com/micaherne","followers_url":"https://api.github.com/users/micaherne/followers","following_url":"https://api.github.com/users/micaherne/following{/other_user}","gists_url":"https://api.github.com/users/micaherne/gists{/gist_id}","starred_url":"https://api.github.com/users/micaherne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micaherne/subscriptions","organizations_url":"https://api.github.com/users/micaherne/orgs","repos_url":"https://api.github.com/users/micaherne/repos","events_url":"https://api.github.com/users/micaherne/events{/privacy}","received_events_url":"https://api.github.com/users/micaherne/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T10:47:27Z","updated_at":"2016-01-08T10:47:27Z","body":"Sorry, I've just discovered that there is a core Moodle task \\core\\task\\plagiarism_cron_task that calls the cron() method for each plugin so this isn't correct."}}