Skip to content

Instantly share code, notes, and snippets.

@dudleyf
Created November 9, 2012 21:20
require 'date'
TorqueBox.configure do
...
# Tuesday through Friday, we just run yesterday's report.
job SummaryReportJob do
name 'report.weekday'
cron WEEKDAY_CRON
config do
dates [Date.today - 1]
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment