The Global On-Demand Synchronization Task entered into the On Failure Task text box runs after every failed on-demand synchronization.
For example, you could choose to send an e-mail and restore the database in which the synchronization failed by creating a
batch job that contains the commands to perform both operations:
Create the following task under Global On-Demand Synchronization Tasks in the On Failure Task text box:
C:\utils\global-failure.cmd
When the file global-failure contains an e-mail command and also an ISQL command to restore the database, both commands execute whenever an executed on-demand synchronization fails.