Daniel Berger wrote:

> Hi all,
>
> Ruby 1.8.2
> Solaris 10, Linux 2.6.8
>
> I'm experiencing something odd with net/ftp.  When I run the following 
> snippet manually it works fine.  Running the same snippet under cron 
> seems to fail.
>
> I don't get any messages in the log file.  No indication whatsoever 
> that there was a problem.  It's just that...nothing happens.  There is 
> no file transfer as far as I can see when run via cron.
>
> Any ideas?
>
Some questions:

Did you add it to the root user's crontab or your user account's crontab?

When you run it manually and it works, are you running it as root or as 
yourself?

In the crontab, did you specify the absolute path to both the ruby 
interpreter and to your script file?

Jamey

Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.