ianperrin / MMM-ModuleScheduler

A MagicMirror helper module to schedule the display of modules and sending of notifications.
MIT License
101 stars 13 forks source link

Allow for multiple schedules to be specified for a single module #2

Closed ianperrin closed 8 years ago

ianperrin commented 8 years ago

There may be occasions when a singe cron expression cannot control the display of the mirror at the desired times.

To accommodate this, the module_schedule options could be modified to support and array e.g. module_schedule: [{from: '30 9 * * SAT', to: '30 22 * * SUN'}, {from: '0 20 * * 2-3', to: '0 23 * * 2-3'}],

ianperrin commented 8 years ago

Initial implementation completed in e40fdd5