buffet: Implement a tool to do periodic polling.

Add a tool which will allow to run the given task forever
with the given delay between executions.

BUG=chromium:420604
TEST=cros_workon_make buffet --test&&manual

Change-Id: I0ec2cb4c8ba8df60009470b784cae8e66c8c3de6
Reviewed-on: https://chromium-review.googlesource.com/224972
Reviewed-by: Anton Muhin <antonm@chromium.org>
Commit-Queue: Anton Muhin <antonm@chromium.org>
Tested-by: Anton Muhin <antonm@chromium.org>
1 file changed
tree: d6c739cd00e509e60eeedfc08ada2993a0e518cb
  1. buffet/