Skip to content

Instantly share code, notes, and snippets.

@seven1m
Created August 26, 2009 16:37
Show Gist options
  • Save seven1m/175629 to your computer and use it in GitHub Desktop.
Save seven1m/175629 to your computer and use it in GitHub Desktop.
* * * * * /path/to/onebody/script/inbox -e production_lite "localhost" "POP-ACCOUNT-USERNAME" "POP-ACCOUNT-PASSWORD"
49 2 * * * /path/to/onebody/script/runner -e production_lite "ActionController::Session::ActiveRecordStore::Session.delete_all(['updated_at < ?', 1.day.ago.utc])"
19 * * * * /path/to/onebody/script/runner -e production_lite "Site.each { Group.update_memberships; NewsItem.update_from_feed; LogItem.flag_suspicious_activity }"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment