From 76fd64b32fc0c7952a0fb57ef38e871e69fbe522 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 30 Jul 2023 14:31:36 +0300 Subject: playground --- frontends/Rexfile | 12 ++++++++++++ playground/README.md | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 playground/README.md diff --git a/frontends/Rexfile b/frontends/Rexfile index 96b3035..e02c7a0 100644 --- a/frontends/Rexfile +++ b/frontends/Rexfile @@ -19,6 +19,7 @@ group dnsmaster => 'blowfish.buetow.org:2'; group dnsslaves => 'fishfinger.buetow.org:2'; our $ircbouncer_server = 'fishfinger.buetow.org:2'; group ircbouncer => $ircbouncer_server; +group openbsd_canary => 'blowfish.buetow.org:2'; user 'rex'; sudo TRUE; @@ -464,6 +465,17 @@ task 'gogios', group => 'frontends', run 'rm /tmp/gogios.cron'; }; +use Rex::Commands::Cron; + +desc 'Cron test'; +task 'cron_test', group => 'openbsd_canary', sub { + cron add => '_gogios', { + minute => '5', + hour => '*', + command => '/bin/ls', + }; +}; + desc 'Installing Gorum binary'; task 'gorum_install', group => 'frontends', sub { diff --git a/playground/README.md b/playground/README.md new file mode 100644 index 0000000..0ed0975 --- /dev/null +++ b/playground/README.md @@ -0,0 +1,3 @@ +# Playground + +Some playground/testing with Rex! -- cgit v1.2.3