Forum: Ruby on Rails RE: Cron Scheduling Problem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Nathan M. (Guest)
on 2006-05-09 00:22
(Received via mailing list)
/usr/bin (where ruby is found) is in the path stipulated in crontab.

I should also say that I can run same command that is in the crontab
from the command line, with no problem (whether as root or myself):
ruby /home/nathan/rails/notifications/script/runner -eproduction
Notifier.deliver_summary

Thanks!
Roberto S. (Guest)
on 2006-05-09 00:28
(Received via mailing list)
I made once the experience that a command with arguments did not work in
my
crontab, so I set a shellscript containing the command and in the
crontab
just called the shellscript and that worked ...
This topic is locked and can not be replied to.