Parent Directory
|
Revision Log
- convert the cronjob to the native cron type
1 | class mirror { |
2 | |
3 | file { "update_timestamp": |
4 | path => "/home/mirror/bin/update_timestamp", |
5 | ensure => present, |
6 | owner => mirror, |
7 | group => mirror, |
8 | mode => 755, |
9 | content => template("mirror/update_timestamp") |
10 | } |
11 | |
12 | cron { mirror: |
13 | user => mirror, |
14 | hour => 10, |
15 | minute => 14, |
16 | command => "~mirror/bin/update_timestamp", |
17 | require => File["update_timestamp"], |
18 | } |
19 | |
20 | } |
ViewVC Help | |
Powered by ViewVC 1.1.30 |