On Fri, 2010-08-06 at 08:44 -0400, Kamil Paral wrote:
----- "James Laska" <jlaska(a)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