NestJS · Senior · Question 30 of 75

What problem can a global @Cron cause in a scaled Nest deployment, and how do you solve it?

Explanation

Jobs should also be idempotent, because locks can expire and runs can overlap.

Further reading

Problem with a question

NestJS · Senior · question 30

Test yourself

Take the NestJS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz