blob: 0e4c9112205e3403662d3dea8b4e3a2b9beb21b6 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
LOC=`dirname $0`
$LOC/runner 'PostRedirect.delete_old_post_redirects()'
$LOC/runner "ActiveRecord::Base.connection.execute(\"delete from sessions where now() - updated_at > '1 month'\")"
|