Skip to content

Run a method every 2 hours or every day at 15:00

Dr. Nicola Mingotti edited this page Dec 11, 2021 · 1 revision

Problem. I want to call a method every fixed amount of time. Say every 2 hours, or every Monday, or every time it is 14:00. How do I do it?

Solution. There a specific package to solve this problem: CronDaemon. See the GitHub readme for a fast introduction on how to use it.

Clone this wiki locally