Open
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, new AnotherStamp(..some static arguments..)])]
class FooService