How to schedule a continuous query without a group by?

Hi there, we have a query that does not do any grouping using time. We just do some calculations like count etc. Is this possible or do i need to fall back to a cronjob or something that does this?