Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add natural langage support for scheduling #13

Open
rumdood opened this issue Feb 4, 2024 · 0 comments
Open

Add natural langage support for scheduling #13

rumdood opened this issue Feb 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@rumdood
Copy link
Owner

rumdood commented Feb 4, 2024

Currently the bot requires dates and times to be given in specific formats so that it can correctly parse them (e.g. "yyyy-MM-dd HH:mm:ss[am/pm]"

This should be improved so that the user can specify a date/time like "tomorrow at noon" or "Friday afternoons at 3" and the bot can then deduce the correct date or CRON statement.

Examples:

"Tomorrow at noon" - Calculate the date for tomorrow and set the time to 12:00:00pm
"Friday afternoons at 3" - CRON statement of 0 0 15 * * 5
"Next Tuesday at 10am" - Calculate the date for the upcoming Tuesday and set the time to 10:00:00am

@rumdood rumdood added the enhancement New feature or request label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant