My problem is that I have a RESTful Web Service using a class Gestion
.
In this class, I have a function _update_
, and I would like to call this function everyday at 00:00.
I had no idea how to do that, so I looked into the Web, and I found that using threads might be a good option. However, I don't know how I can use it. Do I have to move my _update_
function into a new class ?