blob: 056a82e81a7011d6fc3b53640d4b36d6b8fbd363 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|