How to restart a file watcher job after it is terminated

143 views
Skip to first unread message

Rama Krishna Gollapudi

unread,
Oct 3, 2014, 3:37:16 PM10/3/14
to aut...@googlegroups.com
Hi ,
       I've written a autosys file watcher job. I would like to specify a condition where the same job will restart after certain amount of time if it is terminated. 
For example my file watcher job is terminated at 1:30 PM and i would like to restart the job after 2:30 PM automatically. 

Could you please help me to find out the scenario?. Here is my job 

insert_job: bat_tag_fim job_type: f
watch_file: $ODYM_INPUT/Fares.$${@AL_CODE@DTFARE@SUFFIX@}.tag
watch_interval: 10
term_run_time: 60
profile: @PROFILE@
machine: @MACHINE_NAME@
permission: ge,me,gx,mx,wx
date_conditions: 1
days_of_week: all
start_mins: 10,20,30,40,50,00
description: "Succeeds if Tag file is found , TERMINATES every 1hrs"
condition: s(at_dcprep)
alarm_if_fail: 1
job_terminator: 1
Reply all
Reply to author
Forward
0 new messages