I have some functions, for example, afoo()
, bfoo()
and cfoo()
, I want that functions run simultaneously/paralel in a loop with different timing.
Example:
afoo()
--> run one time every 5 minutes
bfoo()
--> run one time every 10 minutes
cfoo()
--> run one time every hour
Is there anyway to do that? Maybe with SetInterval()?