I am using duplicity to create nightly backups of my server over FTP. I wrote a script that does both a local and remote backup and logs the output results. When I run this script as the root user, it executes just fine. However when I set it as a cron job and run it, the script executes but the ftp portion fails. Shortly after I get an error message saying "ncftpls - command not found, please install ncftp 3.1.9 or later" but it is installed! Is there some reason that cron job would not be able to find a command that exists on the machine? Does it have it's own PATH or something like that?
Any help is greatly appreciated,
Mike