This commit is contained in:
Tour
2025-12-03 17:17:49 +01:00
parent febd08821a
commit 8fff75dcf2
22 changed files with 4666 additions and 40 deletions

27
run-once.bat Normal file
View File

@@ -0,0 +1,27 @@
@echo off
REM ============================================================================
REM Troostwijk Auction Monitor - Run Once (Windows)
REM ============================================================================
REM
REM This script runs the complete workflow once and exits.
REM Perfect for Windows Task Scheduler.
REM
REM Usage:
REM run-once.bat
REM
REM Schedule in Task Scheduler:
REM - Every 30 minutes: Data import
REM - Every 1 hour: Image processing
REM - Every 15 minutes: Bid monitoring
REM
REM ============================================================================
REM Set configuration
set DATABASE_FILE=C:\mnt\okcomputer\output\cache.db
set NOTIFICATION_CONFIG=desktop
REM Run the application once
java -jar target\troostwijk-scraper-1.0-SNAPSHOT-jar-with-dependencies.jar once
REM Exit code for Task Scheduler
exit /b %ERRORLEVEL%