Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Portalauth.log dosyasını windows paylaşımına kopyalama

    Scheduled Pinned Locked Moved Turkish
    1 Posts 1 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      emrullahcavusoglu
      last edited by

      merhaba log konusunda işin fantezisine kaçıyorum gibi geliyor ama şöyler bişey yapmak istiyorum portalauth.log dosyasını örneğin 1 saat arayla herhangi bir düzenleme yapmadan olduğu gibi logları tuttuğum windows makinaya kopyalamak istiyorum. bunu yapmak için ekstra eforda sarfetmek istemiyorum. kafamdan geçen olay şu. dhcplistcronsmb.sh dosyasına awk -f /sbin/dhcptibduzenle.sh < /var/dhcpd/var/db/dhcpd.leases > ./dhcplog-$tarih.txt

      gibi bir kod yazarak 5651 yasa için yaptığım loglama ayarlarıyla örneğin her bir saatte aynı windows lokasyonuna kopyalamasını istiyorum. kod yazma konusunda bilgim yok net komutu verebilirseniz sevinirim

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.