framework icon indicating copy to clipboard operation
framework copied to clipboard

F.schedule

Open ivanlunardi opened this issue 9 years ago • 4 comments

It's possible to use schedule with "seconds" ?

ivanlunardi avatar May 09 '17 14:05 ivanlunardi

@ivanlunardi Can you be more specific? What do you want to achieve?

schedules are processed once a minute so it's more usefull for longer times not a seconds. Wouldn't setTimeout or setInterval be better?

molda avatar May 09 '17 15:05 molda

hi , my needs is to run a schedule every 10 seconds.

ivanlunardi avatar May 10 '17 06:05 ivanlunardi

Then F.schedule is not what you want. You gonna need to use setInterval(function() {}, 1000 * 10).

molda avatar May 10 '17 06:05 molda

Thanks!

ivanlunardi avatar May 11 '17 16:05 ivanlunardi