Running task once a day in vibe.d

sigod via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 16 14:20:00 PST 2016


On Tuesday, 16 February 2016 at 18:30:43 UTC, Nick wrote:
> Hey folks
>
> I'm making a vibe.d application. Once a day it needs to 
> download some data. How do i get the program to perform this 
> task once a day?
>
> Regards, Nick

You can use `Timer`. See `setTimer`/`createTimer` in 
http://vibed.org/api/vibe.core.core/


More information about the Digitalmars-d-learn mailing list