Adjusts SQL queries and feature extraction to accommodate changes in the network_logs database schema, enabling automatic weekly retraining of the ML hybrid detector. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7a657272-55ba-4a79-9a2e-f1ed9bc7a528 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: f4fdd53b-f433-44d9-9f0f-63616a9eeec1 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/449cf7c4-c97a-45ae-8234-e5c5b8d6a84f/7a657272-55ba-4a79-9a2e-f1ed9bc7a528/2lUhxO2
18 lines
398 B
SYSTEMD
18 lines
398 B
SYSTEMD
[Unit]
|
|
Description=IDS ML Training - Weekly Retraining
|
|
Documentation=https://github.com/your-repo/ids
|
|
Requires=ids-ml-training.service
|
|
|
|
[Timer]
|
|
# Esecuzione settimanale: ogni Lunedì alle 03:00 AM
|
|
OnCalendar=Mon *-*-* 03:00:00
|
|
|
|
# Persistenza: se il server era spento, esegui al prossimo boot
|
|
Persistent=true
|
|
|
|
# Accuratezza: 5 minuti di tolleranza
|
|
AccuracySec=5min
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|