AngeliaSync can easily be run in Automation Mode from the Windows Command Line (or in a batch file). The command line's general format is: "path_to_exe\AngeliaSync.Exe /Ggroup_name|/Pprofile_name".
"path_to_exe" in the above example specifies the folder where the AngeliaSync executable is located (normally "C:\Program Files\AngeliaSync") and "/Ggroup_name" tells AngeliaSync to execute the Profile Group specified by "group_name". If you want to execute a single Profile then use "/Pprofile_name" instead to execute the Profile specified by "profile_name".
AngeliaSync will set the system error level to a value that corresponds to the manner in which it terminated. If errors were encountered, errorlevel will be set to 1 (one) while if warnings were encountered errorlevel will be set to 2 (two). If neither errors nor warnings were encountered (ie - a successful execution) then errorlevel will be set to 0 (zero). You can test for errorlevel in your batch file to decide whether to continue or to terminate.
A simple batch file example follows: