This commit is contained in:
2026-06-13 21:45:28 +02:00
parent 6bcb721eb4
commit f94573ea6e
473 changed files with 7805 additions and 31 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys, paramiko
c = paramiko.SSHClient()
c.set_missing_host_key_policy(paramiko.AutoAddPolicy())
c.connect("192.168.1.76", username="root", password="7309208104", timeout=10)
# posledni zpracovane slozky s nenulovym k dobrani z posledniho behu
cmd = "grep 'k dobrani=' /mnt/user/Scripts/MailStore/ingest_full.log | tail -15"
i, o, e = c.exec_command(cmd)
sys.stdout.buffer.write(o.read())
c.close()