[
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 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.
was:Absence alert HOURLY_RULE is another use case for customers' needs.
Add detailed descriptions for this PR.
> 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 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)