iron_worker_node icon indicating copy to clipboard operation
iron_worker_node copied to clipboard

Include other modules, like controller model?

Open kithokit opened this issue 10 years ago • 1 comments

Hi, I saw the iron worker example is great. However, it is an example of uploading a single node.js file which run a few command of code.

My web application code is using express.js. It has a number of controllers and models. My problem is that my worker process would like to do some complicated job which could make use of my application code and its related controllers and models.

Can I achieve that?

Thanks

kithokit avatar Jul 30 '14 05:07 kithokit

Hey, you could merge any files/folders check this one - http://dev.iron.io/worker/reference/dotworker/#syntax_reference

rkononov avatar Jul 30 '14 05:07 rkononov