Sha256: 1a64ab71ace284dd301066d0c978d0d8497904be3f45f82bc8d4966dd8b1e8a2

Contents?: true

Size: 580 Bytes

Versions: 10

Compression:

Stored size: 580 Bytes

Contents

<%
  @read_cmd = 'crontab -l'
  @write_cmd = 'crontab -'

%>

# cron clears out environment variables, but Rubber.root/script/rubber uses
# "rvm do default" to run, so no longer any need to setup ruby env vars here,
# 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

10 entries across 10 versions & 1 rubygems

Version Path
rubber-2.1.2 templates/base/config/rubber/common/crontab
rubber-2.1.1 templates/base/config/rubber/common/crontab
rubber-2.1.0 templates/base/config/rubber/common/crontab
rubber-2.0.8 templates/base/config/rubber/common/crontab
rubber-2.0.7 templates/base/config/rubber/common/crontab
rubber-2.0.6 templates/base/config/rubber/common/crontab
rubber-2.0.5 templates/base/config/rubber/common/crontab
rubber-2.0.4 templates/base/config/rubber/common/crontab
rubber-2.0.3 templates/base/config/rubber/common/crontab
rubber-2.0.2 templates/base/config/rubber/common/crontab