azkabanlinkin开源的一套简单的任务调度服务系统。如果需要配置任务的状态回调,那么需要加入以下配置:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
type=command

job.notification.started.1.url = http://10.20.115.20:9527/index/callback?message=started&server=?{server}&project=?{project}&flow=?{flow}&executionId=?{executionId}&job=?{job}&status=?{status}

job.notification.success.1.url = http://10.20.115.20:9527/index/callback?message=success&server=?{server}&project=?{project}&flow=?{flow}&executionId=?{executionId}&job=?{job}&status=?{status}

job.notification.failure.1.url = http://10.20.115.20:9527/index/callback?message=failure&server=?{server}&project=?{project}&flow=?{flow}&executionId=?{executionId}&job=?{job}&status=?{status}

job.notification.completed.1.url = http://10.20.115.20:9527/index/callback?message=completed&server=?{server}&project=?{project}&flow=?{flow}&executionId=?{executionId}&job=?{job}&status=?{status}

command=exit -1

dependencies=callback