Script exiting with "option batch continue" line added
I have this huge server sync script that was working good, but would get a message every few hours:
Operating system failed to create file x.filepart (or something like that)
Then it would let me press p to skip all, but skip all didn't work, and in a few hours the message would be back up. I added the line:
option batch continue
But now it exists after a few hours. What I think might be happening is that, it tries to make a tar.gz, but it takes too long. After 15 seconds, it normally prompts to abort -- but I think the batch option continue might be confirming the abort or killing the script.
Anyway - I changed the code so that "option batch continue" is used before the sync commands, and "option batch off" is used right after them. I'm testing it now, but does anyone have any other reasons it would terminate, or how I can stop it?
Operating system failed to create file x.filepart (or something like that)
Then it would let me press p to skip all, but skip all didn't work, and in a few hours the message would be back up. I added the line:
option batch continue
But now it exists after a few hours. What I think might be happening is that, it tries to make a tar.gz, but it takes too long. After 15 seconds, it normally prompts to abort -- but I think the batch option continue might be confirming the abort or killing the script.
Anyway - I changed the code so that "option batch continue" is used before the sync commands, and "option batch off" is used right after them. I'm testing it now, but does anyone have any other reasons it would terminate, or how I can stop it?