Pre/Post Commands Batch Files Not Waiting
I've coded some batch files to run before and after ABR10, and the Pre-backup command includes a TIMEOUT command for 5 minutes to allow a background process to do its thing. The batch files tested perfectly outside of Acronis, and I implemented them last night. When I checked this morning, the log indicated that the commands had run successfully, but there hadn't been any pause between the scheduled backup time and the backup procedure beginning (after 6 seconds the log indicates that the command completed successfully).
Any ideas why this is happening?
Thanks for your help!

- Log in to post comments

The pre-command seems to be doing everything else that it's supposed to do, it's just not waiting on the TIMEOUT command.
- Log in to post comments

I tried to reproduce it with the following simple bat file -
===
echo 1> file1
timeout 10
echo 1> file2
===
It run before a scheduled and timestamp of the file1 and file2 were different by 10 seconds. Can you check it with a similar .bat file to be sure that other commands in it doesn't influence timeout command (though it would be weird)
- Log in to post comments

a notification posting if there is any followup.
As Fedor Larin indicated, the timing is for seconds so a 5 minutes timeout would require a setting of
timeout 300
- Log in to post comments