lw-listener
v0.1.6
Published
A schedular for events
Downloads
8
Readme
Format of creation: Listener(cronString:String, service:function, startDate:Date); cronString: The recurrenceRule as specified by the cron standard service: The function that is called recurringly startDate: An optional parameter that specifies when to start the recurrence if not immediately
Object Methods: StartCron: This starts the recurrence immediately even if startDate is provided StartDatedSchedule: This starts the recurrence at the given startDate if provided, else immediately StopCron: This stops the recurrence even if it has not started yet because the startDate was used and is still in the future