Skip to content

Windows background service with a system-tray interface for automating scheduled attendance tasks (periodic clock time sync, log retrieval, error handling and backups). Provides user controls to start, stop, reinstall the service, toggle automatic deletion of downloaded records, and enable or disable auto-start on system boot.

License

Notifications You must be signed in to change notification settings

Darukio/PyZKTecoClocksService

Repository files navigation

PyZKTecoClocks

Docs Program

Español

Instalación

Prerrequisitos

  • Python 3.7+
  • Windows 10 o superior

Dependencias

Todos los paquetes necesarios están listados en requirements.txt.

# Ejecutar en cmd o PowerShell con permisos de administrador
Set-ExecutionPolicy RemoteSigned
# Si es necesario, navegar al directorio del proyecto
git clone https://github.com/Darukio/PyZKTecoClocks.git && cd PyZKTecoClocks
git submodule update --remote --recursive
python install.py  # Instala las dependencias de forma global

Creación de ejecutables

Ejecutable del servicio:

# Ejecutar en cmd o PowerShell con permisos de admin
pyinstaller --noconsole --clean --version-file version_info.txt --onefile --hidden-import=eventlet.hubs.epolls --hidden-import=eventlet.hubs.kqueue --hidden-import=eventlet.hubs.selects --hidden-import=dns --hidden-import=dns.dnssec --hidden-import=dns.e164 --hidden-import=dns.hash --hidden-import=dns.namedict --hidden-import=dns.tsigkeyring --hidden-import=dns.update --hidden-import=dns.version --hidden-import=dns.zone --hidden-import=dns.versioned --add-data "json/errors.json;json/" --noupx --log-level=INFO --debug all schedulerService.py

Interfaz del servicio:

# Ejecutar en cmd o PowerShell con permisos de admin
pyinstaller.exe --noconsole --clean --version-file version_info.txt --onefile --hidden-import=eventlet.hubs.epolls --hidden-import=eventlet.hubs.kqueue --hidden-import=eventlet.hubs.selects --hidden-import=dns --hidden-import=dns.dnssec --hidden-import=dns.e164 --hidden-import=dns.hash --hidden-import=dns.namedict --hidden-import=dns.tsigkeyring --hidden-import=dns.update --hidden-import=dns.version --hidden-import=dns.zone --hidden-import=dns.versioned -n "Servicio Reloj de Asistencias" -i "resources/24-7.png" --add-data "resources/system_tray/*;resources/system_tray" --add-data "resources/24-7.png;resources/" --add-data "json/errors.json;json/" --noupx --log-level=INFO --uac-admin --debug all main.py

About

Windows background service with a system-tray interface for automating scheduled attendance tasks (periodic clock time sync, log retrieval, error handling and backups). Provides user controls to start, stop, reinstall the service, toggle automatic deletion of downloaded records, and enable or disable auto-start on system boot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages