recurring_select icon indicating copy to clipboard operation
recurring_select copied to clipboard

Hourly option - disabled by default

Open NVerban opened this issue 9 years ago • 5 comments

Added hourly rule which, when enabled, shows as first option in frequency select. Assuming hourly rules are not needed in most cases this feature is disabled by default. Can be enabled via options feature:

$.fn.recurring_select.options = {
  hourly: {
    enable: true //enable hourly option - disabled by default
  },
  monthly: {
    show_week: [true, true, true, true, false, false] //display week 1, 2 .... Last
  }
}

screen-capture

NVerban avatar Apr 07 '15 04:04 NVerban

+1

bogdanRada avatar Aug 18 '15 07:08 bogdanRada

+1

trahfo avatar Feb 25 '16 09:02 trahfo

hi, First thing first thanks for hourly support, can we use hourly rule combine with other rule type such as event occur daily and each day every 2 hour or specific time

uzaif313 avatar Aug 16 '17 12:08 uzaif313

@uzaif313 it has been some time since I used recurring select, but as far as I am aware this does not support an hourly window each day that you are describing. It most likely would have to be implemented as a new/custom option.

It does look as though this kind of recurring rule is supported by ice_cube gem, which is a good start. A quick google search brought up a similar rule that might offer some hints: https://stackoverflow.com/questions/7374715/ruby-ice-cube-exclude-whole-day-for-hourly-recurring-event

If you find, or implement a solution, be sure to post it here for others who might need a similar solution! Thanks, and best of luck!

NVerban avatar Aug 17 '17 03:08 NVerban

@jverban Thanks for response i try to implement it. if its working as i expect i will add solution here

uzaif313 avatar Aug 17 '17 05:08 uzaif313