Sha256: a48bd4d1c2991ebec8aa5291710c57d944ac19462b8564142aa7c3f17410d02f

Contents?: true

Size: 344 Bytes

Versions: 3

Compression:

Stored size: 344 Bytes

Contents

<%
  @read_cmd = 'crontab -l'
  @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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rubber-1.1.5 generators/vulcanize/templates/redis/config/rubber/role/redis/crontab
rubber-1.1.4 generators/vulcanize/templates/redis/config/rubber/role/redis/crontab
rubber-1.1.3 generators/vulcanize/templates/redis/config/rubber/role/redis/crontab