Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
Open
Labels
Description
Description
AsPeriodicTask and AsCronTask is pretty handing in promoting any service or command to a periodic task, the only issue is that custom stamps cannot be added to the scheduled messages unlike defining jobs in a dedicated Schedule class where there is no such restriction.
Example
#[AsPeriodicTask(stamps: [SomeStamp::class,newAnotherStamp(..some static arguments..)])]class FooService