NestJS · Middle · Question 65 of 75
What does @nestjs/schedule offer besides @Cron?
- ✓Correct answer:
@Interval(),@Timeout()and theSchedulerRegistryfor adding or removing jobs at runtime - 2Message queues
- 3Distributed locks across servers
Explanation
Scheduling is per process. For distributed systems, combine it with a lock or use a queue with repeatable jobs.