# A Kyverno DeletingPolicy with schedule '0 * * * *' has never run yet. When does the cleanup controller first evaluate it?

Kyverno, Medium (Advanced), Policies. https://k8wiz.com/uquiz/a-kyverno-deletingpolicy-with-schedule-0-has-never-run-yet-when-does-the-cleanup-controller-first-evaluate-it

- A. As soon as the policy object is created
- B. At the next cron tick after its creation time
- C. At the end of the next background scan interval
- D. The next time a matching resource is updated

**Answer:** At the next cron tick after its creation time

**Explanation:** The controller computes the next run from status.lastExecutionTime, or from the policy's creation timestamp when it has never run. After each run it writes lastExecutionTime and requeues the policy for the following tick. A policy created at 10:05 with an hourly schedule therefore first runs at 11:00.
