Why can't JS queries be ran periodically?

I just noticed JS queries don't have the Run this query periodically option.

What's the reason for this?

1 Like

+1 to this, it's annoying isn't it? I have to create a dummy call that triggers the JS on success

Yes, using 2 queries can solve it. I don't see a technical reason not to have this built-in.

1 Like

Not quite the same as the option you're asking about, but adding setInterval() around the statements you want to run periodically could suffice for some use cases.

+1 for having this in normal app dev. Ideally run this periodically would be more for background jobs which something is in Beta development now but this could be handy in Apps so you don't have to duplicate work in background workflow type of setups