# This will fail to run properly
*/5 * * * * /usr/bin/env ruby /home/username/twitter.rb
# Need to run the script in full bash environment
*/5 * * * * bash -c 'source /home/username/.rvm/scripts/rvm && /usr/bin/env ruby /home/username/twitter.rb'
Sunday, March 7, 2010
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2010
(102)
-
▼
March
(17)
- Finding and killing application processes in the c...
- HP F2410 printer on Ubuntu
- Play remote media files over ssh using mplayer
- Set Ubuntu to use Google DNS for internet
- Sync music/podcasts to mobile phone
- Stop restart popup after automatic updates in Wind...
- Full path of file in ruby
- cp with progress indicator by using rsync instead
- Comparing 2 files using diff
- Running ruby scripts as cron jobs in rvm environment
- Cron log in Ubuntu
- Changing of syslog.conf location in Ubuntu Karmic
- Changing timezone in terminal
- Rvm notes
- Rails 3 notes
- Vim can't make backup file
- Vim unable to open swap file
-
▼
March
(17)
1 comment:
Is this solution capable with rake tasks?
Post a Comment