Bryan writes:
> I have a backup script that runs fine when I run it manually from the
> command line. When I run it with cron, the script stops running at
> random points in the source code.
>
> The script calls rsync with the subprocess module, which in turn uses
> ssh to backup files from a bo
On Jul 24, 2:11 pm, Bryan wrote:
> I have a backup script that runs fine when I run it manually from the
> command line. When I run it with cron, the script stops running at
> random points in the source code.
>
> The script calls rsync with the subprocess module, which in turn uses
> ssh to back
On 7/24/2009 2:11 PM Bryan said...
The script runs fine in my bash shell, what could cron be doing to
interfere?
It's likely environmental -- make sure you're starting with the same
path, etc. Sometimes I'll create a sell script by env'ing to a bash
script file and append the actual command