<% @read_cmd = 'crontab -l' @write_cmd = 'crontab -' @additive = ['# start-graphite_web-crontab', '# end-graphite_web-crontab'] %> # Backup graphite web UI db every day 0 1 * * * <%= Rubber.root %>/script/rubber cron --task util:backup --directory /mnt/graphite_backups --name graphite --command "nice zip #{dir}/#{name}_<%= rubber_env.host %>_#{time_stamp}.zip <%= rubber_env.graphite_storage_dir %>/*.db"