My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
MaintainingSubstruct  
Running required maintenance tasks on Substruct when in production
Updated Aug 31, 2010 by subim...@gmail.com

Introduction

In a production environment there are some routine maintenance tasks that will need to be done.

We have a rake task set up to handle these maintenance issues that can be called by running

rake substruct:maintain

This does certain things like expire old Sessions, so you might want to run it hourly.

You can do this by calling the rake task via cron. Adding this to your crontab will do just that.

 10      *       *       *       *               cd [PATH TO YOUR APP HERE]; env rake substruct:maintain RAILS_ENV=production >> /dev/null 2>&1
Powered by Google Project Hosting