Re: Automatic FTP problem in cron

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Quoting umair shakil <umairshakeel@xxxxxxxxx>:

Cron Entry is :
*/5 * * * * /opt/bin/ftp.sh 2> /tmp/error_log

"/opt/bin/ftp.sh: line 3: ftp: command not found"

Your shell script doesn't know where 'ftp' lives. Best to put the full path into place, '/usr/bin/ftp'


--
R | I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley@xxxxxxxxxx>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Imaging                       .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux