I have an application AngularJS application connected to ASP.NET Web API. I want to generate a new entity and save it to my database every N days(perhaps based off DateTime/Timer). I already have a HTTP method in Web Api to do this. Is there a way for WebAPI to send a message to AngularJS to call that HTTP method, or make WebAPI call itself, or have a completely separate service do this?
I understand that WebAPI should only take requests and not make them, does this mean I should have a separate service of some kind? If not, where does my time calculations take place?