add new features, OneTimeJob and Job.RunNow() (#646)

This commit is contained in:
John Roesler
2023-12-18 21:13:37 -06:00
committed by GitHub
parent f7cd2bcf04
commit 6e15f16d77
8 changed files with 483 additions and 55 deletions
+2
View File
@@ -87,6 +87,8 @@ Jobs can be run every x days at specific times.
Jobs can be run every x weeks on specific days of the week and at specific times.
- [**Monthly**](https://pkg.go.dev/github.com/go-co-op/gocron/v2#MonthlyJob):
Jobs can be run every x months on specific days of the month and at specific times.
- [**One time**](https://pkg.go.dev/github.com/go-co-op/gocron/v2#OneTimeJob):
Jobs can be run once at a specific time. These are non-recurring jobs.
### Concurrency Limits
Jobs can be limited individually or across the entire scheduler.