recurring_select
recurring_select copied to clipboard
Hourly option - disabled by default
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
}
}
+1
+1
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 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!
@jverban Thanks for response i try to implement it. if its working as i expect i will add solution here