waiting while running a task by using Acrocmd
Hello All,
is there an option of acrocmd to wait until a task is running, that has been started by using acrocmd run task --id=xxxxx...xxx?
I need to run an backup task within a batch file. But after this task has been completed (or not) some other tasks needs to be done. I would not like to use the task param "run program after acronis task has been done".
So is there a way to wait until the acronis task has been finished?
Thanks for your help.
Holger

- Log in to post comments

Hello Holger, Hello Walter,
you could do this by calling another batch.
Simply create 4 batchfiles: 1 for pre-tasks, 1 for backup, one for post-tasks and 1 main-script.
In the main batchfile execute the pre/backup/post-batches with the command "CALL".
The main batchfile has to wait for the finished sub-batches this way.
Its a bit like using a slegde-hammer to crack a nut but...
Regards, Ralf
- Log in to post comments