new alert logic for work job

fix #150