ruby on rails - Web Dynos in Heroku -


i wanted see best practice in following situation be.

i have setup scheduler in heroku app run 2 rake tasks, (performs screen scrape), these ran once day, have read have 750 hours free per month of dyno processes accrue usage when dyno idle.. need run

 heroku ps:scale web=0 

so dyno doesnt accrue usage when not running or leave is?

what best thing here?

thanks

if haven't added more web workers should on free tier. if log heroku account , go app's dashboard you'll see estimated monthly cost resources used, can double check it's on $0.

i tested both heroku ps:scale web=0 , heroku ps:scale web=1 on 1 of apps. both leave cost @ $0, , app still online 0 web workers, i'm not sure how works.

you pay scheduler, time call rake task. might few dollars per month, or perhaps less dollar, depends how long for.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -