eagle-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huizhi Lu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (EAGLE-522) Implement HOURLY_RULE for Absence Alert.
Date Thu, 29 Sep 2016 21:49:22 GMT

     [ https://issues.apache.org/jira/browse/EAGLE-522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Huizhi Lu updated EAGLE-522:
----------------------------
    Description: 
Absence alert HOURLY_RULE is another use case for customers' needs.
We need to schedule jobs to be run every x hours. Current absence alert only supports daily
rule, but not our case. So HOURLY_RULE should be supported.

The policy for the hourly_rule should be like the following.

// "numOfFields, f1_name, f2_name, f1_value, f2_value, absenceWindowRuleType, startTime, endTime,
interval"
 example: "1,jobID,job1,hourly_rule,2016-09-09 12:00:00,2016-09-09 13:00:00,10:00:00"

That being said, job1 starts during the period 2016-09-09 12:00:00 ~ 2016-09-09 13:00:00,
and the job should start again every 10:00:00 hours after the period.

If not, absence alert will be triggered.

  was:
Absence alert HOURLY_RULE is another use case for customers' needs.
We need to schedule jobs to be run every x hours. Current absence alert only supports daily
rule, but not our case. So HOURLY_RULE should be supported.

The policy for the hourly_rule should be like the following.

// "numOfFields, f1_name, f2_name, f1_value, f2_value, absenceWindowRuleType, startTime, endTime,
interval"
 example: "1,jobID,job1,hourly_rule,2016-09-09 12:00:00,2016-09-09 13:00:00,10:00:00"

That being said, job1 starts during the period 12:00:00 ~ 13:00:00 on 2016-09-09, and the
job should start again every 10:00:00 hours after the period.

If not, absence alert will be triggered.


> Implement HOURLY_RULE for Absence Alert.
> ----------------------------------------
>
>                 Key: EAGLE-522
>                 URL: https://issues.apache.org/jira/browse/EAGLE-522
>             Project: Eagle
>          Issue Type: Improvement
>    Affects Versions: v0.5.0
>            Reporter: Huizhi Lu
>            Assignee: Huizhi Lu
>             Fix For: v0.5.0
>
>
> Absence alert HOURLY_RULE is another use case for customers' needs.
> We need to schedule jobs to be run every x hours. Current absence alert only supports
daily rule, but not our case. So HOURLY_RULE should be supported.
> The policy for the hourly_rule should be like the following.
> // "numOfFields, f1_name, f2_name, f1_value, f2_value, absenceWindowRuleType, startTime,
endTime, interval"
>  example: "1,jobID,job1,hourly_rule,2016-09-09 12:00:00,2016-09-09 13:00:00,10:00:00"
> That being said, job1 starts during the period 2016-09-09 12:00:00 ~ 2016-09-09 13:00:00,
and the job should start again every 10:00:00 hours after the period.
> If not, absence alert will be triggered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message