You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above is my suggestion, and the idea also has shortcomings, such as how myListenerFunc distinguishes different events and performs different logic functions. Please correct any deficiencies. Due to limited personal ability, I can only propose this idea, thank you!
The text was updated successfully, but these errors were encountered:
For all jobs, add a global event listening function.
When any one or more of the following events occur in any job, the set callback function will be triggered.
'EVENT_SCHEDULER_STARTED', 'EVENT_SCHEDULER_SHUTDOWN', 'EVENT_SCHEDULER_PAUSED', 'EVENT_SCHEDULER_RESUMED', 'EVENT_ALL_JOBS_REMOVED','EVENT_JOB_ADDED', 'EVENT_JOB_REMOVED', 'EVENT_JOB_MODIFIED', 'EVENT_JOB_EXECUTED', 'EVENT_JOB_ERROR', 'EVENT_JOB_MISSED'
Hope to have the following implementation,
The above is my suggestion, and the idea also has shortcomings, such as how myListenerFunc distinguishes different events and performs different logic functions. Please correct any deficiencies. Due to limited personal ability, I can only propose this idea, thank you!
The text was updated successfully, but these errors were encountered: