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

    Restart Gateways via Cron

    Scheduled Pinned Locked Moved Portuguese
    3 Posts 2 Posters 789 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.
    • K
      kblokill
      last edited by

      Bom dia,

      No pfSense, via interface gráfica, eu consigo fazer um restart no serviço Gateways, (Status/Gateways/Gateways>>> click no ícone restart service).

      Alguém sabe me dizer, qual comando posso usar para agendar esse restart no serviço Gateways como uma tarefa diária no Cron?

      Grato.

      1 Reply Last reply Reply Quote 0
      • K
        kblokill
        last edited by

        Este comando funciona:

        /usr/local/sbin/pfSsh.php playback svc restart apinger

        Obrigado

        E 1 Reply Last reply Reply Quote 0
        • E
          edinhoalmeida5 @kblokill
          last edited by

          @kblokill

          Corrigindo o comando:
          /usr/local/sbin/pfSsh.php playback svc restart dpinger
          (Voce escreveu apinger).

          Mas muito obrigado meu amigo, me salvou.

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