```ruby
namespace :notifications do
  desc "Let the admins know about all the new shit this week."
  task :new_stuff_admin, [:since] => :environment do |_t, args|
    args.with_defaults(since: 7)
    since = args[:since].to_i
    AdminMailer.alert_new_stuff(since).deliver_later
  end
end
```

Make sure new stuff email only does out once a week.
user
```ruby
namespace :notifications do
  desc "Let the admins know about all the new shit this week."
  task :new_stuff_admin, [:since] => :environment do |_t, args|
    # jfc, heroku scheduler doesn't support weekly jobs. So hack that in via cache.
    Rails.cache.fetch("admin new stuff email", expire_in: 7.days) do
      args.with_defaults(since: 7)
      since = args[:since].to_i
      AdminMailer.alert_new_stuff(since).deliver_later
    end
  end
end
```
assistant