I have a bash script that runs a ruby ββscript that retrieves my twitter feeds.
#!/bin/bash
cd /home/username/twitter
ruby twitter.rb friends
Running successfully on the command line.
/home/username/twittercron
But when I try to run it as a cronjob, it starts, but could not get the feeds.
## crontab -e
*/15 * * * * * /home/username/twittercron
script - chmod + x. Not sure why this is as such. Any ideas?
source
share