Navigation

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

    Cron Job at Gateway UP

    Firewalling
    3
    4
    603
    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
      eng1tx last edited by

      I have searched all over and cannot seem to find the correct syntax…

      I am wanting to set a cron job that will run on a gateway status change (up)

      Is that possible?

      TIA

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

        Cron doesn't know about such events, it's limited to just timer events and a special @reboot event that runs a job after the system has been booted up.

        1 Reply Last reply Reply Quote 0
        • E
          eng1tx last edited by

          Thank s for the reply.  I was afraid of that.

          I would imagine a script could be used for this.  Is there an area on these forums to request/bounty a script?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned last edited by

            Read this post - the part about gateway state plugin.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post