in reply to Net::SFTP disconnect

I failed to mention that one of the things I have tried to get this to work was to add a setEnv() function to establish all the %ENV that is missing under cron. Alas, it made no difference.