OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Schedules not working
« previous next »
  • Print
Pages: [1]

Author Topic: Schedules not working  (Read 3145 times)

xayide

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Schedules not working
« on: December 28, 2016, 05:16:19 pm »
I run the newest build of 16.7 (11 I think).
I added a schedule and attached it to a floating rule, the is not enabled or disabled and traffic still floats. If I toggle enable/disable manualy it works. Do I need to do anything more to get it running? Any logs to look in?

Should the enable/disable change when schedule is used?
Logged

xayide

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Re: Schedules not working
« Reply #1 on: December 28, 2016, 05:34:51 pm »
Would be nice if one could enable/disable rule by crond job.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Schedules not working
« Reply #2 on: December 28, 2016, 07:53:00 pm »
Hi xayide,

Scheduled rules are refreshed every 15 minutes, not more, not less. This is a very old behaviour we've avoided to touch out of lack of better alternatives that don't require reengineering the process.

If there is a problem despite waiting 15 minutes, we need to look into it. The scheduling is already using a cron job like suggested.


Cheers,
Franco
Logged

xayide

  • Newbie
  • *
  • Posts: 14
  • Karma: 0
    • View Profile
Re: Schedules not working
« Reply #3 on: December 28, 2016, 09:12:26 pm »
Aha ok Thanks..Got it working. Seems it doesn't disable the job just the rule is omitted if time is out.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13988
  • Karma: 1211
    • View Profile
Re: Schedules not working
« Reply #4 on: December 29, 2016, 09:37:48 am »
What do you mean by "doesn't disable the job"?


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 16.7 Legacy Series »
  • Schedules not working
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2