Skip to content

Instantly share code, notes, and snippets.

@edavis10
Created August 15, 2009 21:34
Show Gist options
  • Save edavis10/168462 to your computer and use it in GitHub Desktop.
Save edavis10/168462 to your computer and use it in GitHub Desktop.
#!/bin/bash
TZ='America/Los_Angeles'; export TZ
## All projects
# /home/websites/projects.littlestreamsoftware.com/current/script/runner -e production "Repository.fetch_changesets"
## Only active projects
/home/websites/projects.littlestreamsoftware.com/current/script/runner -e production "Project.find_all_by_status(Project::STATUS_ACTIVE).collect(&:repository).compact.each {|repo| repo.fetch_changesets }"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment