Displaying 1 result from an estimated 1 matches for "dailytask".
2013 Aug 29
5
Problem when using bundle exec rake with Launchd
...ar all,
I am developing a web harvesting server which requires regularly
website parsing. Since I use Mac 10.8 as my development environment, I
try to use Launchd to routinely wake up my parser. My parser was a bash
script which has only two lines:
1. cd $HOME/ProjectFolder
2. bundle exec rake dailyTask:dataParse
When directly execute the script under Terminal, there is no
problem. However, when this script is called by Launchctl, it produces
errors, which looks like:
/usr/local/Cellar/ruby/2.0.0-p195/bin/bundle exec rake
dailyTask:dataParse --trace >> /tmp/cron-test.out
/usr/local/Ce...