Fix lodgeit cron
A '%' sign was not escaped correctly causing a cron error when triggering backups Change-Id: Icd5f78d0a310520a979f24418c41755a5e91ca13
This commit is contained in:
parent
6c779a5f83
commit
fb4fc7b770
@ -65,7 +65,7 @@ define lodgeit::site($port, $image="") {
|
||||
user => root,
|
||||
hour => 6,
|
||||
minute => 23,
|
||||
command => "sleep $((RANDOM%60+60)) && cd /var/backups/lodgeit_db && drizzledump -uroot ${name} > ${name}.sql && git commit -am \"Updating DB backup for ${name}\""
|
||||
command => "sleep $((RANDOM\\%60+60)) && cd /var/backups/lodgeit_db && drizzledump -uroot ${name} > ${name}.sql && git commit -am \"Updating DB backup for ${name}\""
|
||||
}
|
||||
|
||||
service { "${name}-paste":
|
||||
|
Loading…
x
Reference in New Issue
Block a user