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
Post a Comment