Sha256: 325e2e052f1caddb3cd3f73ec693ac469695b70847a72ed3db0bc0d53ae683f1
Contents?: true
Size: 466 Bytes
Versions: 51
Compression:
Stored size: 466 Bytes
Contents
<% @read_cmd = 'crontab -l' @write_cmd = 'crontab -' %> # cron clears out environment variables. All we need is PATH. PATH=<%= ENV['PATH'] %> MAILTO=<%= rubber_env.admin_email %> # don't need to set RUBBER_ENV for each script since we set it for all cron here RUBBER_ENV=<%= Rubber.env %> RAILS_ENV=<%= Rubber.env %> # Roll all rails logs at midnight 0 0 * * * <%= Rubber.root %>/script/rubber cron --task util:rotate_logs --directory=<%= Rubber.root %>/log
Version data entries
51 entries across 51 versions & 1 rubygems