OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: xayide on December 28, 2016, 05:16:19 pm

Title: Schedules not working
Post by: xayide 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?
Title: Re: Schedules not working
Post by: xayide on December 28, 2016, 05:34:51 pm
Would be nice if one could enable/disable rule by crond job.
Title: Re: Schedules not working
Post by: franco 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
Title: Re: Schedules not working
Post by: xayide 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.
Title: Re: Schedules not working
Post by: franco on December 29, 2016, 09:37:48 am
What do you mean by "doesn't disable the job"?


Cheers,
Franco