sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30371
Re: [Question #261486]: Stopping/Starting Sikuli from batch file
Question #261486 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261486
Description changed to:
I have two Sikuli scripts that both run fine individually. The first
runs a repeated process and the second sorts the results of the first
process.
I would like to be able to run the first overnight and then have a
Windows scheduled task quietly stop the first script, kick off the
second script and then, after the second has completed, create and move
the files to a dated folder (working), generate empty files (working)
and restart the first again.
Currently, here's what I have:
@echo off
taskkill /IM chrome.exe >nul
taskkill /IM java.exe >nul ---- not sure if this is how I should stop Sikuli or not
SLEEP 15
start z:\runIDE.cmd -r Z:\Sort.sikuli
SLEEP 7200
set curr_date=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%
echo %curr_date%"
mkdir %curr_date%
copy *.txt %curr_date%%
copy NUL FileA.txt
copy NUL FileB.txt
copy NUL FileC.txt
copy NUL FileD.txt
copy NUL FileE.txt
start z:\runIDE.cmd -r Z:\Generate.sikuli
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.