From: Peter Palfrader Date: Tue, 6 Mar 2018 22:11:42 +0000 (+0100) Subject: running every half hour should also suffice easily, with a semicolon X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=efc15e2af690f92e64f81cc7b355c5bae75a7b58;p=mirror%2Fdsa-puppet.git running every half hour should also suffice easily, with a semicolon --- diff --git a/modules/postgres/manifests/backup_server.pp b/modules/postgres/manifests/backup_server.pp index b3bb216da..95fe38c5e 100644 --- a/modules/postgres/manifests/backup_server.pp +++ b/modules/postgres/manifests/backup_server.pp @@ -45,7 +45,7 @@ class postgres::backup_server { concat::fragment { 'dsa-puppet-stuff--postgres-make_base_backups': target => '/etc/cron.d/dsa-puppet-stuff', content => @("EOF") - */30 * * * * debbackup sleep \$(( RANDOM \\% 1500 )) chronic ${$postgres::backup_server::globals::make_base_backups} + */30 * * * * debbackup sleep \$(( RANDOM \\% 1200 )); chronic ${$postgres::backup_server::globals::make_base_backups} | EOF }