MrDys / blacklight

Blacklight Plugin
http://projectblacklight.org/
Other
1 stars 1 forks source link

Create a rake task for deleting old entries from the searches table #466

Closed MrDys closed 12 years ago

MrDys commented 12 years ago

CODEBASE-280: Create a rake task that will delete unsaved (user_id = NULL) entries from the searches table when searches.created_at is more than X many days old, where X is an argument to the rake task.

Provide example of how to run the rake task from cron.

MrDys commented 12 years ago

Original reporter: darthmolly

MrDys commented 12 years ago

darthmolly: I've added a rake task and associated spec tests to master.