Multiple meteor instances, run task only once

Hi - I have multiple meteor instances running, and have an hourly query task. I only want the task to run on one of the instances.

What is the cleanest way to do this? I realize I can use the DB for synchronization but that seems messy (or maybe I’m just thinking about it in the wrong way?).

SyncedCron package was built for exactly such a thing.


Thanks Josh! Looks perfect for what I need. Going to run some map reduce analytics :slight_smile:

1 Like

A perfect use case :smile: