Úprava skriptu health-retention.sh (portál: jiri.uhlir59@gmail.com)
This commit is contained in:
@@ -7,7 +7,7 @@ echo "Deleting service health records older than 30 days..."
|
||||
|
||||
sqlite3 "$DB_FILE" "
|
||||
DELETE FROM service_health
|
||||
WHERE checked_at < datetime('now','-30 day');
|
||||
WHERE checked_at < datetime('now','-5 day');
|
||||
"
|
||||
|
||||
echo "Done."
|
||||
|
||||
Reference in New Issue
Block a user