diff options
| author | Paul Buetow <paul@buetow.org> | 2025-10-02 11:28:55 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-10-02 11:28:55 +0300 |
| commit | 2b034797107660d4d83f8a7acdc55d32db785b82 (patch) | |
| tree | 522fb586193c8a65ca6aee42df64eecc3555f644 /gemfeed/examples/conf/playground/Rexfile | |
| parent | 4d7d90638186ac71067232007607f6637d560a4d (diff) | |
Update content for md
Diffstat (limited to 'gemfeed/examples/conf/playground/Rexfile')
| -rw-r--r-- | gemfeed/examples/conf/playground/Rexfile | 24 |
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 |
