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

    Schedulare il wake on Lan

    Scheduled Pinned Locked Moved Italiano
    1 Posts 1 Posters 1.6k 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.
    • M
      MaxFontana
      last edited by

      Ciao a tutti. Ho un server Centos di backup che vorrei spegnere durante il weekend. La macchina supporta il WOL (testato usando l'interfaccia web di pfsense). Adesso vorrei schedulare il comando in modo tale da lanciarlo automaticamente ogni lunedi mattina all ore :07:00.
      Ho guardato la sintassi nella sezione cron del file di configurazione .xml ma non ho capito bene come funziona.
      Riporto qui sotto l'esempio che ho trovato il quale fa partire OGNI 30 minuti lo script. Come andrebbe modificato per farlo eseguire ogni lunedi mattina?
      Grazie mille.
      Max


      <minute>/30</minute>
                              <hour>
      </hour>
                              <mday></mday>
                              <month>
      </month>
                              <wday>*</wday>
                              <who>root</who>
                              <command></command>/usr/local/etc/rc.d/wol_start.sh

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