bynk.cron.duplicate_schedule
Error Two cron handlers declare the same schedule.
The context's scheduled entry point picks the handler by the schedule that fired, so each schedule may be declared once across all its from cron services. Two handlers with the same one would leave it with two to run. Merge them into one handler, or give one a different schedule.
Example
on schedule("*/5 * * * *") () -> Effect[Result[(), String]] { … }on schedule("*/5 * * * *") () -> Effect[Result[(), String]] { … } // ✗ already scheduled
on schedule("0 * * * *") () -> Effect[Result[(), String]] { … } // ✓ a different scheduleIn the Book
See also
- The grammar rule it governs:
cron_handler. - Every code in its category, Cron, on the diagnostic index.
bynk explain bynk.cron.duplicate_scheduleshows the same from the installed toolchain, without a network.