Create a scheduled task. Note its ID.
Navigate in another tab to
http://example.com/administrator/index.php?option=com_ajax&format=json&plugin=RunSchedulerTest&group=system&id=6
where 6 is the ID of your task
Task doesn't run as a GET request should be validated by CSRF Token before running anything other than "get"ing data.
Task is run, regardless of its not a manual task.
{
"success": true,
"message": null,
"messages": null,
"data": {
"status": 0,
"taskStart": 1640646415.469952,
"netDuration": 0.0005578994750976562,
"taskEnd": 1640646415.47051,
"logCategory": "task6",
"plugin": "demotasks",
"startTime": 1640646415.469984,
"endTime": 1640646415.470506,
"duration": 0.0005218982696533203
}
}
Labels |
Added:
No Code Attached Yet
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-01-02 15:04:05 |
Closed_By | ⇒ | richard67 |
Closing as having a pull request. Please test #36518 . Thanks in advance.