Currently in our org there are many batch jobs which run and perform certain activities. Now the requirement is to notify the admin immediately via email when any of the batch jobs is failed.
Could you please help me for failed jobs, it will send immediate email notification?