brad999 / nikita

Nikita voice computing platform
MIT License
1 stars 0 forks source link

Add Scheduling Option to Modules #40

Open brad999 opened 9 years ago

brad999 commented 9 years ago

Modify select existing modules to have a scheduling option.

This will primarily be used to schedule one-off tasks to be performed on the server side. For example, "Remind me to go to the store at 7 PM" will result in a text message task that will execute at 7 PM. Or, "Turn off the lights in 5 minutes" will result in a task that will execute in 5 minutes to turn off the lights.

At the start of the module determine if the command is intended to be scheduled or executed immediately. This will be done by checking if the input matches on "in ## minute(s)|hour(s)|second(s)|day(s)|week(s)|month(s)" or "at time". If matches, pass to the scheduling function, if not execute action immediately.

Dependent on #39