Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/etc
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-02-17 21:59:00 +0400
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-02-17 21:59:00 +0400
commit057aad71d534ad32cda97185cbf9bc1597b6fd38 (patch)
treeda15972bf4fd2bb757810884efe963042dae39c1 /src/etc
parent5482ead78ccf97904a55ce3b9713b3183358adaf (diff)
Add a scheduler
Everything second it will try to figure out if one the the scheduled command matches the current time (converted to the specified strftime-compatible "format" key). In case it matches then the command is queued
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/poudriered.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/etc/poudriered.conf b/src/etc/poudriered.conf
index 96cd426f..e319658c 100644
--- a/src/etc/poudriered.conf
+++ b/src/etc/poudriered.conf
@@ -1,4 +1,6 @@
socket "/tmp/poudriered.sock"
+cachedir /usr/local/poudriere/cache
+logs /usr/local/poudriere/logs
command port {
subcommand list {
group "*"
@@ -18,3 +20,13 @@ command port {
command "*" {
user poudriere-operator
}
+
+schedule [ {
+ when: "17:56:05",
+ format: "%H:%M:%S",
+ cmd: {
+ command: port,
+ subcommand: list,
+ }
+ },
+ ]