I start with Heroku, and I have a webapp that has a part that should run once a week (preferably Mondays). I read something about workers: here and here and here ... But I still have a lot of doubts:
1) These workers, working in the background without strict control, cannot be scheduled to run once a week. or am I wrong? If I am wrong, how can I plan this?
2) To make them work, what exactly do I need to do? A type
web: node webApp.js worker: node worker.js
in Procfile (where worker.js is part of a program that should only run once a week). And it's all? Nothing more?? so easy??
3) And the last ... but the most important. “The flat issue of money” ... One dinosaur is the same as one worker, so if you have a dinosaur for the Internet, you need to buy another one for the worker ... no? And according to the price list, emergency dinarity costs $ 34.5 (€ 27.87). It's not cheap ... so I want to know if I'm right, do I need to buy dyno if you want to run a worker?
source share