20-sep: migracion watchers (Telegram+recordatorios) a INFRAESTRUCTURA + estado/agentes/changelog
This commit is contained in:
31
scripts/recordatorio.cmd
Normal file
31
scripts/recordatorio.cmd
Normal file
@@ -0,0 +1,31 @@
|
||||
@echo off
|
||||
rem recordatorio.cmd — Comando corto para gestionar recordatorios con message box.
|
||||
rem Uso:
|
||||
rem recordatorio listar todos los recordatorios
|
||||
rem recordatorio done <id> marcar como terminado (ya no sale)
|
||||
rem recordatorio add "texto" --hora 14:00 [--fecha diario|YYYY-MM-DD]
|
||||
rem recordatorio test <id> mostrar el cuadro ahora mismo
|
||||
rem recordatorio sync crear recordatorios desde pendientes.json (tareas con hora)
|
||||
set PY=python
|
||||
set SCR=C:\Users\juanm\Documents\GitHub\INFRAESTRUCTURA\scripts\recordatorios_msgbox.py
|
||||
if "%~1"=="" goto listar
|
||||
if /i "%~1"=="done" (
|
||||
%PY% "%SCR%" --done %2
|
||||
goto fin
|
||||
)
|
||||
if /i "%~1"=="add" (
|
||||
%PY% "%SCR%" --add %2 --hora %3 --fecha %4
|
||||
goto fin
|
||||
)
|
||||
if /i "%~1"=="test" (
|
||||
%PY% "%SCR%" --test %2
|
||||
goto fin
|
||||
)
|
||||
if /i "%~1"=="sync" (
|
||||
%PY% "%SCR%" --sync
|
||||
goto fin
|
||||
)
|
||||
if /i "%~1"=="listar" goto listar
|
||||
:listar
|
||||
%PY% "%SCR%" --listar
|
||||
:fin
|
||||
Reference in New Issue
Block a user