Skip to content

Instantly share code, notes, and snippets.

@abloch
Created December 7, 2017 09:56
Show Gist options
  • Save abloch/21fe42d42b272a038edb7b86583bdedd to your computer and use it in GitHub Desktop.
Save abloch/21fe42d42b272a038edb7b86583bdedd to your computer and use it in GitHub Desktop.
recurrent example
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