I just wonder, shouldn't we start scheduling post-bodhi-update watcher with cron? Patch attached.
--- autoqa.cron | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/autoqa.cron b/autoqa.cron index 833024b..5fe9633 100644 --- a/autoqa.cron +++ b/autoqa.cron @@ -8,3 +8,6 @@
# Run the koji watcher every 5 minutes */5 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py + +# Run the bodhi watcher every 5 minutes +*/5 * * * * autotest /usr/share/autoqa/post-bodhi-update/watch-bodhi-requests.py
On Fri, 2010-08-06 at 11:20 +0200, Kamil Páral wrote:
I just wonder, shouldn't we start scheduling post-bodhi-update watcher with cron? Patch attached.
Yes we should, thanks for patching. We might want to consider spreading the koji and bodhi polling intervals out a little, but we can worry about that if it becomes an issue.
Thanks, James
----- "James Laska" jlaska@redhat.com wrote:
On Fri, 2010-08-06 at 11:20 +0200, Kamil Páral wrote:
I just wonder, shouldn't we start scheduling post-bodhi-update
watcher
with cron? Patch attached.
Yes we should, thanks for patching. We might want to consider spreading the koji and bodhi polling intervals out a little, but we can worry about that if it becomes an issue.
We can set it to 4 or 6 minutes, or any other value. I wasn't sure what the desired interval is, so I just picked the same as for koji. But a little different interval could be a good choice.
On Fri, 2010-08-06 at 08:44 -0400, Kamil Paral wrote:
----- "James Laska" jlaska@redhat.com wrote:
On Fri, 2010-08-06 at 11:20 +0200, Kamil Páral wrote:
I just wonder, shouldn't we start scheduling post-bodhi-update
watcher
with cron? Patch attached.
Yes we should, thanks for patching. We might want to consider spreading the koji and bodhi polling intervals out a little, but we can worry about that if it becomes an issue.
We can set it to 4 or 6 minutes, or any other value. I wasn't sure what the desired interval is, so I just picked the same as for koji. But a little different interval could be a good choice.
Howabout each cronjob fires every 10 minutes? But the koji and bodhi watchers are 5 minutes apart.
-# Run the koji watcher every 5 minutes -*/5 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py +# Run the koji watcher every 10 minutes, starting at :00 +0,10,20,30,40,50 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py +# +# Run the bodhi watcher every 10 minutes, starting at :05 +5,15,25,35,45,55 * * * * autotest /usr/share/autoqa/post-bodhi-update/watch-bodhi-requests.py
Thanks, James
----- "James Laska" jlaska@redhat.com wrote:
Howabout each cronjob fires every 10 minutes? But the koji and bodhi watchers are 5 minutes apart.
-# Run the koji watcher every 5 minutes -*/5 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py +# Run the koji watcher every 10 minutes, starting at :00 +0,10,20,30,40,50 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py +# +# Run the bodhi watcher every 10 minutes, starting at :05 +5,15,25,35,45,55 * * * * autotest /usr/share/autoqa/post-bodhi-update/watch-bodhi-requests.py
Thanks, James
That's also a good solution :) Is someone opposed to it or can I commit it into master?
On Mon, 2010-08-09 at 10:20 -0400, Kamil Paral wrote:
----- "James Laska" jlaska@redhat.com wrote:
Howabout each cronjob fires every 10 minutes? But the koji and bodhi watchers are 5 minutes apart.
-# Run the koji watcher every 5 minutes -*/5 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py +# Run the koji watcher every 10 minutes, starting at :00 +0,10,20,30,40,50 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py +# +# Run the bodhi watcher every 10 minutes, starting at :05 +5,15,25,35,45,55 * * * * autotest /usr/share/autoqa/post-bodhi-update/watch-bodhi-requests.py
Thanks, James
That's also a good solution :) Is someone opposed to it or can I commit it into master?
No complaints for either approach. Always something we can fine tune later, if needed.
Thanks, James
----- "James Laska" jlaska@redhat.com wrote:
On Mon, 2010-08-09 at 10:20 -0400, Kamil Paral wrote:
----- "James Laska" jlaska@redhat.com wrote:
Howabout each cronjob fires every 10 minutes? But the koji and
bodhi
watchers are 5 minutes apart.
-# Run the koji watcher every 5 minutes -*/5 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py +# Run the koji watcher every 10 minutes, starting at :00 +0,10,20,30,40,50 * * * * autotest /usr/share/autoqa/post-koji-build/watch-koji-builds.py +# +# Run the bodhi watcher every 10 minutes, starting at :05 +5,15,25,35,45,55 * * * * autotest /usr/share/autoqa/post-bodhi-update/watch-bodhi-requests.py
Thanks, James
That's also a good solution :) Is someone opposed to it or can I commit it into master?
No complaints for either approach. Always something we can fine tune later, if needed.
Ok, pushed.
autoqa-devel@lists.fedorahosted.org