Using switch instead of @switch.
Adding schedule and adding Resque rake tasks.