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

    Install cron job

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 2.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.
    • ?
      Guest
      last edited by

      Hello,

      I want to install a cron job that will start captive portal deamon at 6:00pm and stop it at 8h:00am.
      What is the best way to bo this ?

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        First make sure you run the latest 1.2beta1. Then go to diagnostics>backup/restore and download your config.xml. Edit it an search for CRON items at the bottom of the config. You can add additional items there. then upload it again.

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          Can you help me in the syntax of arguments that will transmitted to lighttpd deamon :

          <minute>0</minute>
          <hour>18</hour>
          <mday></mday>
          <month>
          </month>
          <wday>0-4</wday>
          <who>root</who>
          <command></command>/usr/local/sbin/lighttpd -f ?????? (start or stop it)

          1 Reply Last reply Reply Quote 0
          • ?
            Guest
            last edited by

            Can any one help please !  :'(

            1 Reply Last reply Reply Quote 0
            • D
              dvserg
              last edited by

              @noamine:

              Can any one help please !  :'(

              killall -h  ::)

              SquidGuardDoc EN  RU Tutorial
              Localization ru_PFSense

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