From: Mark Probert Date: 2003-03-22T04:44:40+09:00 Subject: ruby and cron help Hi, rubyists. I think this is more a cron rather than a ruby problem. However, I am stumped. I am running ruby 1.6.8 under Solaris 6. wcary3zg:~/src/ruby/utils% crontab -l 0,15,30,45 * * * * /opt/home/mark/bin/blah wcary3zg:~/src/ruby/utils% cat ~/bin/blah #! /usr/local/bin/zsh cd ~/src/ruby/utils /usr/local/bin/ruby timestamp.rb > ~/tmp/timestamp.out /usr/local/bin/ruby blah.rb > ~/tmp/blah.out timestamp.rb contains "puts Time.now" just to show that ruby is working ok. blah.rb is the application I am really interested in. Running "blah" from the command line works fine. It fails to work from cron, though the command is executed (from /var/cron/log) and the timestamp.out file is updated. Any ideas? -- -mark. ---------------------------------------------------- Mark Probert probertm@NOSPAM_nortelnetworks.com Nortel Networks ph. (613) 768-1082 ---------------------------------------------------- All opinions expressed are my own and do not reflect in any way those of Nortel Networks.