-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathScrape.bat
More file actions
35 lines (29 loc) · 727 Bytes
/
Copy pathScrape.bat
File metadata and controls
35 lines (29 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
setlocal
cd /d "%~dp0"
if not exist "venv\Scripts\activate.bat" (
echo Please run "Install.bat" first.
pause
exit /b 1
)
if not exist "credentials.json" (
echo.
echo Your portal login has not been configured yet.
echo Please run "Install.bat" to finish setup.
echo.
pause
exit /b 1
)
call "venv\Scripts\activate.bat"
echo.
echo ==========================================================
echo Pulling new records from the portal...
echo ==========================================================
echo.
echo This checks every request that is still OPEN and any new
echo requests that have appeared. Closed requests are skipped.
echo.
python run.py
echo.
echo Done.
pause