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

Adding schedules option to packages

Scheduled Pinned Locked Moved Development
2 Posts 1 Posters 792 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.
  • X
    xbipin
    last edited by Jan 31, 2015, 11:30 AM

    i have modified the pkg_edit.php file to allow packages a schedule selection control (pull request sent) and that works well but now the issue is how do i trigger the on and off for a executable when the schedule is in effect and out of effect, is there some function i can call or do i need to go and edit some inc library file to add the function.

    i want to allow use of schedules in packages so it can be used by many more things rather than rules and limiters only.

    1 Reply Last reply Reply Quote 0
    • X
      xbipin
      last edited by Feb 12, 2015, 4:24 PM

      upon further investigation it seems filter.inc has a function called filter_configure_sync where everything happens so is it fine if i add the on and off code there or do i create a new function for it?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received