
I've finally solved my issue of running my program only when the system is idle, by adding a scheduled task. This works GREAT during testing. Unfortunately, I can't figure out how to create a scheduled task from the Byteessence Installer. At the moment I'm using a Run Program (execute after unpacking the files) statement and I run an included .bat file called add_task.bat. I run it with "<ProgramDir>\main.exe" as the first argument. The add_task.bat file contains:
Code: Select all
%SYSTEMROOT%\system32\schtasks.exe /create /tn "Citation" /tr %1 /sc MINUTE /mo 1
Then change the add_task.bat to:
Code: Select all
%SYSTEMROOT%\system32\schtasks.exe /create /tn "Citation" /tr %1 /sc MINUTE /mo 1 /ru %2

I've searched on Google and on the forum and can't find any help. It looks like someone has spammed Google with "Byteessence Installer".
