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

Version Path
rubber-3.2.2 templates/base/config/rubber/common/crontab
rubber-3.2.1 templates/base/config/rubber/common/crontab
rubber-3.2.0 templates/base/config/rubber/common/crontab
rubber-3.1.0 templates/base/config/rubber/common/crontab
rubber-3.0.1 templates/base/config/rubber/common/crontab
rubber-3.0.0 templates/base/config/rubber/common/crontab
rubber-2.16.0 templates/base/config/rubber/common/crontab
rubber-2.15.2 templates/base/config/rubber/common/crontab
rubber-2.15.1 templates/base/config/rubber/common/crontab
rubber-2.15.0 templates/base/config/rubber/common/crontab
rubber-2.14.0 templates/base/config/rubber/common/crontab
rubber-2.13.1 templates/base/config/rubber/common/crontab
rubber-2.13.0 templates/base/config/rubber/common/crontab
rubber-2.12.2 templates/base/config/rubber/common/crontab
rubber-2.12.1 templates/base/config/rubber/common/crontab
rubber-2.12.0 templates/base/config/rubber/common/crontab
rubber-2.11.0 templates/base/config/rubber/common/crontab
rubber-2.10.2 templates/base/config/rubber/common/crontab
rubber-2.10.1 templates/base/config/rubber/common/crontab
rubber-2.10.0 templates/base/config/rubber/common/crontab