/
[scheduled tasks] Easing scheduled tasks debugging
[scheduled tasks] Easing scheduled tasks debugging
When developing a new scheduled task or changing existing one it's always important to test, that it works correctly. Each scheduled task has underlying event (e.g. "email-log:OnRotate" event for "rotate_email_logs" scheduled task). To be able to debug underlying event developer needs to form an url, that looks like this:
- General format: http://www.website.tld/index.php?events[prefix]=OnEventName
- Real life example: http://www.website.tld/index.php?events[email-log]=OnRotate
The way how event, associated with scheduled task, is transformed into url, used for it's debugging is pretty obvious, but still requires some effort each time a developer needs to debug it a scheduled task.
To ease that burden I'm proposing (only, when debug mode is enabled) to have event name as a link to it's debugging, that would be opened in a new window.