summaryrefslogtreecommitdiff
path: root/gemfeed/examples/conf/playground/Rexfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-10-02 11:28:53 +0300
committerPaul Buetow <paul@buetow.org>2025-10-02 11:28:53 +0300
commitc0f9ecf5e0b075db8e54ef1235ec80878e418398 (patch)
treed729aef5835fdfa173277c4189342976e33c6446 /gemfeed/examples/conf/playground/Rexfile
parenta96adfd84d903c50d75c8771cdcc78dd5e942618 (diff)
Update content for html
Diffstat (limited to 'gemfeed/examples/conf/playground/Rexfile')
-rw-r--r--gemfeed/examples/conf/playground/Rexfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/gemfeed/examples/conf/playground/Rexfile b/gemfeed/examples/conf/playground/Rexfile
new file mode 100644
index 00000000..056a82e8
--- /dev/null
+++ b/gemfeed/examples/conf/playground/Rexfile
@@ -0,0 +1,24 @@
+use Rex -feature => ['1.14', 'exec_autodie'];
+use Rex::Logger;
+use Rex::Commands::Cron;
+
+group openbsd_canary => 'blowfish.buetow.org:2';
+
+user 'rex';
+sudo TRUE;
+
+parallelism 5;
+
+desc 'Cron test';
+task 'openbsd_cron_test', group => 'openbsd_canary', sub {
+ cron add => '_gogios', {
+ minute => '5',
+ hour => '*',
+ day_of_month => '*',
+ month => '*',
+ day_of_week => '*',
+ command => '/path/to/your/cronjob',
+ };
+};
+
+# vim: syntax=perl