Message boards : BOINC Manager : Boinccmd and vbscripts: Help
Message board moderation
Author | Message |
---|---|
Send message Joined: 30 Nov 06 Posts: 10 |
I'm trying to put together a script on a media PC that will suspend boinc when a show is being recorded, and resume boinc when the it stops recording. I'm almost there, but I can't get boinccmd.exe to run inside my script. the script for suspend/resume goes something like this: set objShell = CreateObject("WScript.Shell") objShell.Run "%comspec% /k d:\\progra~1\\BOINC\\BOINCCMD.EXE --set_run_mode never", 1, False This is just the test script, but I can't get it to change the run mode - I keep getting "Authorization Failure: -155. Is there something I can add after "--set_run_mode never" that authorizes access? I can operate the command from a command prompt while in the boinc folder, so boinccmd works, I just can't get it to work from my script. Any help would be much appreciated. I'd be happy to share the script once it's complete. Thanks, Macco |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.