Regarding the Job Schedule after Restarting Hinemos Manager

Hi.

Today’s article will explain to you about the behavior of scheduled jobs when the manager is stopped.

The detailed explanation is written in the following section of the manual.

ーーーーーーーーーーーーーーーーーーーー

Hinemos ver.6.1 User’s Manual 1st Edition
“14.1 Behavior of Job schedules when planned execution time has passed
while java process was stopped”
ーーーーーーーーーーーーーーーーーーーー

In brief:

・Hinemos Manager judges whether the job succeeded to start or not from the amount of time passed after the scheduled time

That amount of time is specified with the parameter “scheduler.dbms.misfireThreshold”. The default value is 3600000msec(1h).

・If the manager starts within the threshold value specified with “scheduler.dbms.misfireThreshold”

→the scheduled job will be executed after Hinemos Manager start

・If the manager does not start within the threshold value specified with “scheduler.dbms.misfireThreshold”

→the scheduled job will be skipped and will be executed at the next scheduled timing

 

e.g.) Job scheduled to be executed every day at 10:00

※The blue line indicates the execution timing

 

This time, we will add some extra conditions.

 

Condition①

If there are multiple jobs (with the same trigger ID) scheduled to be executed within the value set to  “scheduler.dbms.misfireThreshold”,

 

only 1 job per trigger ID will be executed after Hinemos Manager starts.

In the example above, there are 3 jobs which have passed the scheduled time but only 1 job is executed.

 

Condition②

If there are multiple jobs (with a different trigger ID) scheduled to be executed within the value set to  “scheduler.dbms.misfireThreshold”,

 

one job per trigger ID will be executed when Hinemos Manager starts.

 

The order of execution is determined by the first schedule within the target period.

 

Therefore, in the example above, trigger ID2 will be executed before trigger ID1.

 

That is all for the brief explanation about the behavior of scheduled jobs when Hinemos Manager is stopped.

Please keep this in mind when your operation involves restarting Hinemos Manager regularly.


ご意見やお問い合わせについて

この記事へのご意見やお問い合わせについては、こちら(お問い合わせフォーム)もしくは
Hinemos営業担当【hsd-sales@atomitech.jp】までご連絡ください。

※お問い合わせフォームからご連絡の場合には、お問い合わせ内容で「Hinemosについて」を選択し、
 本文の冒頭に「Hinemos研究日記_【タイトル名】」とご記載ください。
※メールアドレスへご連絡の場合には、件名を「Hinemos研究日記_【タイトル名】」でご連絡ください。