RE: Cron Scheduling Problem

/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


I made once the experience that a command with arguments did not work in
crontab, so I set a shellscript containing the command and in the
just called the shellscript and that worked …

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs