OK, so it seems my intuition was wrong about what's causing the problem, but I still have a problem.
When my script is run from an ssh terminal, it deletes the current version of calibre, downloads and installs a new one, and the re-launches calibre.
When my script is run from a cron job, it deletes the current version of calibre, and fails to download and install a new version. Any ideas why?
|