Fix the expiration cron job
This commit fixes the incorrect usage of '' in the command for the expiration cron job to use the proper "" instead. This should hopefully fix the cron job so we actually expire old data. Change-Id: I58a640f804313e1e4b80680f0e39b86d76cb29da
This commit is contained in:
parent
429e7fe60c
commit
a8e4c8322d
|
@ -63,7 +63,7 @@ class subunit2sql::server (
|
|||
|
||||
cron { 'subunit2sql-prune':
|
||||
ensure => present,
|
||||
command => 'subunit2sql-db-manage --config-file /etc/subunit2sql.conf expire --expire-age $expire_age >> /var/log/subunit2sql_migration.log 2>&1 & ',
|
||||
command => "subunit2sql-db-manage --config-file /etc/subunit2sql.conf expire --expire-age ${expire_age} >> /var/log/subunit2sql_migration.log 2>&1 & ",
|
||||
minute => $expire_cron_minute,
|
||||
hour => $expire_cron_hour,
|
||||
weekday => $expire_cron_weekday,
|
||||
|
|
Loading…
Reference in New Issue