Bug 496280 - add periodic job to Releng HIPP which checks if "rebuilds" are scheduled
Summary: add periodic job to Releng HIPP which checks if "rebuilds" are scheduled
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Releng-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 487044
Blocks:
  Show dependency tree
 
Reported: 2016-06-16 22:28 EDT by David Williams CLA
Modified: 2016-06-17 13:21 EDT (History)
0 users

See Also:


Attachments
previous cron job (1.75 KB, application/octet-stream)
2016-06-16 22:33 EDT, David Williams CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2016-06-16 22:28:02 EDT
This was originally implemented for "e4Build" in bug 452130. 

But will  need some work to implement for Releng HIPP. 

The motivation is I used to schedule a "rebuild" using crontab, and then would often forget to "unset" it, so that the following week, a build would kick off at that same scheduled time, even though not needed. 

That is the only "cron job" that was under e4Build that has not been "converted" for Releng HIPP.
Comment 1 David Williams CLA 2016-06-16 22:33:59 EDT
Created attachment 262504 [details]
previous cron job

I am attaching the previous cron job. It won't be of direct use, but it at least shows the concept of looking specifically for the # rebuild" pattern and making sure the next line was commented out. If not, it would result in an "error" and then send an email to me to remind me comment out the specific time. 

We use a similar pattern in the config.xml files, but it is those config files that will have to be 'read' and scannned for the pattern.