Created
December 7, 2017 09:56
-
-
Save abloch/21fe42d42b272a038edb7b86583bdedd to your computer and use it in GitHub Desktop.
recurrent example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import recurrent | |
from dateutil import rrule | |
sched_string = 'at 8:00 PM of the 15th of every month' | |
[runtime.strftime("%D %T") for runtime in rrule.rrulestr(recurrent.parse(sched_string))[0:5]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment