Pre/Post commands run hidden in background
Hi there
Been playing around with ATI and the post commands. Specifically I use a .bat that starts a freefilesync batch file which syncs the backup to an external drive.
When testing the command it runs at normal with the progress UI showing. However when I run the backup it runs the command in the background with no UI showing at all. Which means I haven't a clue to the progress of the backup or whether there are any errors or warnings.
Is there any fix for this? I've tried a couple of commands and all of them end without anything being shown - even other programs etc don't get shown.
Also I cannot remove the scheduling from my backups. When I click do not schedule, OK then save nothing changes. It automatically schedules another backup in a week's time.
Frankly quite rubbish tbh.


- Log in to post comments

Hi Bobbo
I will try your fixes and let you know.
Thanks
- Log in to post comments

When creating the bat file, first start Notepad in "run as administrator" mode. Do this each time you use Notepad. When saving the bat file with its content, you need to be running Notepad as admin. That may help.
The Windows scheduler can also be used with the Windows Scheduler option "run as admin" checked.
- Log in to post comments

Ok so I got the post command to work by pointing Acronis to a bat that runs a task that runs a bat that runs freefilesync and passes a ffs_batch file as an argument.
However it still won't save the "do not schedule" option. Even if click save and then run the backup.
Is there anyway I can manually remove the schedule? I can't see anything in the XML file.
- Log in to post comments

Have you tried using the Acronis Scheduler Manager utility?
See the section in the KB document on Managing scheduled tasks that will let you see what is there and delete a single task or all tasks as needed.
- Log in to post comments

I reinstalled the acronis scheduler and all seems well.
2 backups configured, one scheduled to run bi weekly and run freefilesync afterwards with errors and such popping up. Other runs on command, running freefilesync afterwards then shutting down.
Nice - thanks all!
- Log in to post comments