- Регистрация
- 25.11.2012
- Сообщения
- 544
- Реакции
- 26
- Баллы
- 28
I'm running all projects on home PC. Is it possible to have ZP complete projects, then put PC into 'sleep' mode? Or just switch off PC?
Thanks.
Thanks.

Then you have to run the batch file (or the script directly from the monitor project) end exit.If yes, then write hibernation string to batch file, then save?
@echo off
setlocal enableextensions
set myprocess=base.exe
:begin
for /F %%x in ('tasklist /NH /FI "IMAGENAME eq %myprocess%"') do if %%x == %myprocess% goto found
echo not running
ping -n 5 127.0.0.1 > nul
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
goto end
:found
echo running
ping 127.0.0.1 -n 11 > nul
goto begin
:end