@echo off
REM Daily Check System - Windows Startup Script
REM Alternative to Task Scheduler (simpler setup)
REM Copy this file to: C:\Users\[User]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

echo Daily Check System starting...
echo Waiting 2 minutes for system to stabilize...

REM Wait 2 minutes after boot (120 seconds)
timeout /t 120 /nobreak > nul

echo System ready. Starting daily check loop...

REM Infinite loop - trigger check every hour
:loop

REM Call trigger script via WSL
wsl -e bash -c "cd '/mnt/e/Users/Alexis Trouvé/Documents/Projets/couple_matters/daily_check' && ./trigger_check.sh"

REM Wait 1 hour (3600 seconds) before next trigger
timeout /t 3600 /nobreak > nul

REM Loop back
goto loop
