Date: Fri, 29 Mar 2024 06:28:08 +0000 (UTC) Message-ID: <1935356071.12473.1711693688928@change.sos-berlin.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_12472_674222108.1711693688928" ------=_Part_12472_674222108.1711693688928 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
If I have a stand-alone job set to run every 30 minutes, what will happe= n if that job is still running after 30 minutes? What I need to happen is t= hat the job will just continue to run and will not start again until it is = complete.
The simplest approach here is to set either the repeat
or absolute_repeat
attributes for the JobScheduler period
element.
In JOE, this is done by selecting the stand-alone Job in the Scheduler E=
lements window and then opening the "Run Time" "Every Day" form. Then selec=
t "New Period" in the Periods window to activate the "Start Time" fields. T=
hen select either "Interval end/start
" or "Interval star=
t/start
" with the drop-down button.
Interval end/start
" corresponds with the XML setting:<run= _time> <period repeat=3D"00:30:00" begin=3D"00:00" end=3D"24:00" /> </run_time>
Interval start/start
" corresponds with the setting:<run= _time> <period absolute_repeat=3D"00:30:00" begin=3D"00:00" end=3D"24:0= 0" /> </run_time>
The repeat
attribute will cause the job to be restarted, in this c=
ase, 30 minutes after it has last ended.
The repeat
attribute defines the interval between job runs.=
p>
The absolute_repeat
attribute will cause the job=
to be started every, in this case, 30 minutes. This will occur so long as =
a job does not take longer than the repeat interval.
The absolute_repeat
attribute defines the period bet=
ween job starts.
Note, however, that JobScheduler is programmed so that if a job which is s=
et to rerun every 30 minutes using the absolute_repeat
attribu=
te should take longer than this to complete then JobScheduler will wait unt=
il the job has completed before restarting it.