Title
#general
g

GV R

10/05/2022, 9:58 AM
Hi Team, if i use host Cloud Pricing API in self hosted environment… • how frequency Cloud Pricing API to be updated ? • is there any configuration available to set auto update? • or any time window to automate? thank you in Advance
Vadim (Infracost)

Vadim (Infracost)

10/05/2022, 10:02 AM
Hello! You can define your own schedule. For example, with docker-compose you can set up a cron job, see the list item 7 here https://github.com/infracost/cloud-pricing-api#docker-compose
10:03 AM
CPAPI provides a task
npm run job:update
. You can run it manually, or use it with any type of automation (cron job above as example)