19 lines
828 B
Batchfile
19 lines
828 B
Batchfile
@echo off
|
|
rem ============================================================
|
|
rem PERLER LAB - Auto Commit Pipeline (T-080)
|
|
rem Starts node auto-commit.js in a background (minimized) window.
|
|
rem
|
|
rem Usage:
|
|
rem auto-commit.bat start polling daemon (60s interval)
|
|
rem auto-commit.bat --once run one poll cycle then exit
|
|
rem auto-commit.bat --dry-run preview only, no commit
|
|
rem
|
|
rem Env (optional):
|
|
rem set AUTO_COMMIT_INTERVAL=30 poll interval in seconds
|
|
rem ============================================================
|
|
title PERLER LAB Auto-Commit
|
|
cd /d "%~dp0"
|
|
start "PERLER LAB Auto-Commit" /min node auto-commit.js %*
|
|
echo [auto-commit] pipeline started in background window "PERLER LAB Auto-Commit"
|
|
echo [auto-commit] log: %~dp0auto-commit.log state: %~dp0auto-commit-state.json
|