--- /dev/null
+Mux Schedulers enable Tvheadend to automatically play channels. This is
+useful to get EPG, services or access rights updates.
+
+
+
+---
+
+###Menu Bar/Buttons
+
+The following functions are available:
+
+Button | Function
+---------------|---------
+**Save** | Save any changes made.
+**Undo** | Undo any changes made since the last save.
+**Add** | Add a new entry.
+**Delete** | Delete an existing entry.
+**Edit** | Edit an existing schedule entry.
+**View Level** | Change the interface view level to show/hide more advanced options.
+**Help** | Displays this help page.
+
+---
+
+###Adding/Editing an Entry
+
+You can add an entry by pressing the *[Add]* button from the menu bar.
+To edit an entry highlight (select) the entry from within the grid, and press the
+*[Edit]* button from the menu bar.
+
+A common set of fields is used for the Add or Edit functions, most of
+which can also be seen in the grid view:
+
+
+
+---
+
+###Deleting an Entry
+
+To delete an entry highlight (select) the entry from within the grid,
+and press the *[Delete]* button from the menu bar.
+
+**Tip**: You can select all entries within the grid by pressing ctrl+A.
+You can also ctrl+click to make additional selections, or shift+click to
+select a range.
+
+---
--- /dev/null
+:
+Example : every day at 2am is : `0 2 * * *`
+
+`┌───────────── min (0 - 59)`
+
+`│ ┌────────────── hour (0 - 23)`
+
+`│ │ ┌─────────────── day of month (1 - 31)`
+
+`│ │ │ ┌──────────────── month (1 - 12)`
+
+`│ │ │ │ ┌───────────────── day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)`
+
+`│ │ │ │ │`
+
+`│ │ │ │ │`
+
+`* * * * *`
+
+You cannot use non-standard predefined scheduling definitions for this
+field.
+
+See [Wikipedia for a detailed look into Cron.](https://en.wikipedia.org/wiki/Cron)
return 0;
}
+CLASS_DOC(mpegts_mux_sched)
+PROP_DOC(cron)
+
const idclass_t mpegts_mux_sched_class =
{
.ic_class = "mpegts_mux_sched",
- .ic_caption = N_("Mux schedule entry"),
+ .ic_caption = N_("Mux Scheduler"),
.ic_event = "mpegts_mux_sched",
+ .ic_doc = tvh_doc_mpegts_mux_sched_class,
.ic_changed = mpegts_mux_sched_class_changed,
.ic_save = mpegts_mux_sched_class_save,
.ic_delete = mpegts_mux_sched_class_delete,
.id = "cron",
.name = N_("Cron"),
.desc = N_("Schedule frequency (in Cron format)."),
+ .doc = prop_doc_cron,
.off = offsetof(mpegts_mux_sched_t, mms_cronstr),
.set = mpegts_mux_sched_class_cron_set,
},