RejectedSoftware Forums

Sign up

Scheduled tasks

How would I go about implementing some kind of scheduled task to ie.
check hourly whether some mongodb objects have reached some determined
deadline?

Are the vibe.d's Timer methods suitable/recommended for this
hourly/daily stuff, or should I use something else?

Thanks!

Re: Scheduled tasks

Am 22.11.2014 23:59, schrieb Lemonfiend:

How would I go about implementing some kind of scheduled task to ie.
check hourly whether some mongodb objects have reached some determined
deadline?

Are the vibe.d's Timer methods suitable/recommended for this
hourly/daily stuff, or should I use something else?

Thanks!

They would be a viable solution (they are based on UTC based time stamps
internally). I also started to write a higher level scheduler for these
kinds of tasks (e.g. for sending daily/weekly/monthly message
notifications in vibenews), but this yet to be pushed to the repository.