On Completion with Sleep: 0x8007042B (ERROR_PROCESS_ABORTED)
- Posts: 15
- Joined: 6 Feb 2016
I have added a .bat file to On Completion which doesn't appear to be working. I have ffs running unattended from a scheduled task and the PostSyncAction is set to sleep. I'm wondering whether ffs puts the computer to sleep before the .bat file completes? The ffs log shows it calls the .bat file. Running the .bat file manually, it completes normally. The task scheduler shows the Last Run Result 'The process terminated unexpectedly. (0x8007042B)'. Any ideas much appreciated.
-
- Posts: 2946
- Joined: 22 Aug 2012
Shouldn't your .bat file (instead of FFS) put your computer to sleep?... I'm wondering whether ffs puts the computer to sleep before the .bat file completes? Squashed, 30 Oct 2020, 15:01
And that only after all commands in the .bat file have finished.
- Posts: 15
- Joined: 6 Feb 2016
Maybe, but I thought I would ask how FFS operates in that regard, since I couldn't see anything in the documentation or forum posts.
I may have found a problem though - I have an & (ampersand) in my path which needs special handling in a batch file. I'll find out tonight whether I fixed it.
I may have found a problem though - I have an & (ampersand) in my path which needs special handling in a batch file. I'll find out tonight whether I fixed it.
- Posts: 15
- Joined: 6 Feb 2016
Although I sorted out my batch file, I'm still getting the error in the task scheduler Last Run Result, even when I don't call anything on completion. I don't know whether this is a recent thing, because I don't look at it normally. I did recently update FFS to 11.2. Any known issues I could look for, or how to get more information about the error?
-
- Site Admin
- Posts: 7505
- Joined: 9 Dec 2007
If you're able to somehow create a dump file when FFS crashes I can have a look. E.g. https://www.meziantou.net/tip-automatically-create-a-crash-dump-file-on-error.htm
- Posts: 15
- Joined: 6 Feb 2016
I tried your suggestion, but it didn't produce a crash dump.