Created
December 20, 2019 20:31
-
-
Save changhuixu/07afdc4699886b497fa8a04765fcc966 to your computer and use it in GitHub Desktop.
a usage of https://github.com/HangfireIO/Cronos
This file contains hidden or 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
CronExpression expression = CronExpression.Parse("* * * * *"); | |
DateTimeOffset? next = expression.GetNextOccurrence(DateTimeOffset.Now, TimeZoneInfo.Local); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment