首次提交: OnebotCatalog 项目代码与文档(含 NX 按需生成服务二期、后台、一键启动)

This commit is contained in:
wangruiguo
2026-09-03 17:55:45 +08:00
commit fafa86d3a6
241 changed files with 78656 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
@echo off
setlocal
cd /d "%~dp0"
echo ==== 1. worker and NX processes ====
tasklist /FI "IMAGENAME eq run_journal.exe" | find /I "run_journal" >nul
if %errorlevel%==0 (echo worker RUNNING) else (echo worker NOT running)
tasklist /FI "IMAGENAME eq ugraf.exe" | find /I "ugraf.exe" >nul
if %errorlevel%==0 (echo NX ugraf RUNNING) else (echo NX ugraf not running)
echo ==== 2. job state files newest first ====
dir /b /o-d "jobs" 2>nul
echo ==== 3. output dir generated models ====
dir /b /s "output" 2>nul
echo ==== 4. latest done file content ====
set "doned="
for /f "delims=" %%f in ('dir /b /o-d "jobs\job_*.done" 2^>nul') do if not defined doned set "doned=%%f"
if defined doned (
echo --- %doned% ---
type "jobs\%doned%"
) else (
echo no .done file yet
)
endlocal