[#CScheduler-scheduleEvery] = xref:CScheduler.adoc[CScheduler]::scheduleEvery :relfileprefix: ../ :mrdocs: Repeat f until the scheduler is stopped. First run is after delta has passed once. == Synopsis Declared in `<scheduler.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e20c55a08)]] void scheduleEvery( xref:CScheduler/Function.adoc[Function] f, std::chrono::milliseconds delta); ---- == Description The timing is not exact: Every time f is finished, it is rescheduled to run again after delta. If you need more accurate scheduling, don't use this method. == Parameters [cols="1,4"] |=== | Name| Description | *f* | The task to run repeatedly. | *delta* | The interval to wait between runs. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#