How organize files -> cron,

Hello every one,

I will use Meteor for a supervision machine in plant.

Then, Meteor is composed with two parts

  • 1 : web server
  • 2 : Modbus TCP-IP server (network communication this machines)

Machine <—Modbus TCP-IP—> Meteor Server <------>MongoDB <------> Meteor Client

The second part will be called with cron function.

Do you have any proposal for the organization of files ?

Where write cron declaration ? Where save “Modbus” files (only executed on server) ?

Thanks ! :blush:

To organise cron-related files I would suggest:

/imports/startup/server/cron/
/imports/startup/server/cron/helpers/