insert_job: JOB1
command:
max_run_alarm: 5
watch_file:
watch_interval:
insert_job: JOB1
command:
alarm_if_fail: Y
watch_file:
on_watch: RESTART_JOB
condition: FILE_EXISTS()
insert_job: JOB1
command:
watch_file:
iocmd:
max_run_alarm: 5
alarm_if_fail: Y
请注意,以上示例代码仅用于说明。实际代码需根据您的需求进行修改。