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

    Scheduled rules not working according to schedule

    Scheduled Pinned Locked Moved Firewalling
    17 Posts 6 Posters 8.8k 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.
    • H
      heiko
      last edited by

      Hello,
      you must have the cron items which i posted!

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

        This is the only cron item that i have:
        <cron>I have searched through the entire config.</cron>

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

          Ok, i think that´s the problem, please make a backup of your config.xml and paste the cron-item section which i posted into your config.xml.
          Make a restore and test it again…
          Greetings
          heiko

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

            Thanks, those changes did the job, and scheduling is working perfect.

            I have no idea why the cron part was missing, but i have used pfSense since it was in alfa stage and have not installed and configured the system from scratch since the first install.

            Thanks again.

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

              That´s fine, have fun…..

              Up to now, i cannot find the bug now and then an update killed the crons...., so i cannot duplicate this behaviour.

              Greetings
              Heiko

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

                I tried to upgrade from 1.2 BETA3 to RC2 and the cron items did not disappear. Tho I did not setup any schedules. Means I don't know whether this behavior only occurs if upgrading and having setup schedules.

                Regards
                Daniel S. Haischt

                Mit freundlichen Gruessen / With kind regards
                DAn.I.El S. Haischt

                1 Reply Last reply Reply Quote 0
                • M
                  mastrboy
                  last edited by

                  my schedules are not working properly either, i am also missing that cron info from my config file, and /etc/crontab is empty:

                  SHELL=/bin/sh
                  PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
                  HOME=/var/log
                  #minute hour    mday    month   wday    who      command
                  #
                  
                  

                  I am currently running 1.2-RC4 upgraded from a fresh install of 1.2-RC3

                  Anyone else still got this issue?

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    You have serious other issues then.  /etc/crontab has all kinds of stuff setup by pfSense well beyond schedules no matter what.

                    I would reinstall.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mastrboy
                      last edited by

                      i did a clean install of 1.2-RC4 and restored my config, here is what happened.

                      The /etc/crontab was emptied because my backed up config did not contain <cron>entries.

                      So i had to to a reinstall in a vmware extract the cron entries from the xml file and add them to my current config and then restore the configuration again..

                      Is this correct behavior by PFsense? to empty the /etc/crontab if you do not have cron entries in your config file?</cron>

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

                        No, you need cron items in your config. Please download and test it with rc5, i cannot duplicate this problem

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