generators/vulcanize/templates/redis/config/rubber/role/redis/crontab in rubber-1.1.5 vs generators/vulcanize/templates/redis/config/rubber/role/redis/crontab in rubber-1.1.6
- old
+ new
@@ -3,6 +3,6 @@
@write_cmd = 'crontab -'
@additive = ['# start-redis-crontab', '# end-redis-crontab']
%>
# backup redis DBs every hour
-0 * * * * BACKUP_DIR=/mnt/redis_backups BACKUP_NAME=redis BACKUP_CMD="tar -czf %dir%/redis_%time_stamp%.tgz <%= rubber_env.redis_db_dir %>" <%= RUBBER_ROOT %>/script/cron-rake rubber:backup
+0 * * * * BACKUP_DIR=/mnt/redis_backups BACKUP_NAME=redis BACKUP_CMD="tar -czf \%dir\%/redis_\%time_stamp\%.tgz <%= rubber_env.redis_db_dir %>" <%= RUBBER_ROOT %>/script/cron-rake rubber:backup