I'm trying to find a package that can do the following in Python:
- Add/Remove a specified date and time
- Add/Remove it to a scheduler
What I've looked at:
- https://docs.python.org/2/library/sched.html
- Looks like it only does time, not dates.
- https://pypi.python.org/pypi/python-crontab
- Does reoccurring days but not a specific date.
You can use sched to do that.
You can pass arguments for trigger. This would set it up to run for 3 hours each day from 2015-10-10 09:30 to until 2015-10-10 09:30. Interval trigger to set up dates. You can also interchange hours with weeks, hours, days, etc. Hope this helps!
Here's some examples using apscheduler.