<% @read_cmd = 'crontab -l' @write_cmd = 'crontab -' @additive = ["# rubber-nginx-start", "# rubber-nginx-end"] %> # Roll the nginx logs at midnight 0 0 * * * <%= Rubber.root %>/script/rubber cron --task util:rotate_logs --directory=<%= rubber_env.nginx_log_dir %>