Skip to content

Instantly share code, notes, and snippets.

@jackowayed
Created November 16, 2008 00:41
Show Gist options
  • Save jackowayed/25349 to your computer and use it in GitHub Desktop.
Save jackowayed/25349 to your computer and use it in GitHub Desktop.
#crontab -l
8 * * * * cd ~/apps/tweetlinkmonster/current; ./update_tweets.sh > ~/cronlog.log
#cat apps/tweetlinkmonster/current/update_tweets.sh
#!/bin/sh
echo "about to update everyone's tweets"
date
ruby ~/apps/tweetlinkmonster/current/bin/merb -e production -r ~/apps/tweetlinkmonster/current/update_tweets.rb
echo "done"
#cat ~/cronlog.log
about to update everyone's tweets
Sat Nov 15 18:08:01 CST 2008
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment