I\'m trying to create a task scheduler that runs twice a day. I\'ve implemented a task scheduler using CacheItemRemovedCallaback, as suggested in this post and this blog. I
I found solutions that mention Windows services or Windows task scheduler
That's what you should be using. A web application doesn't "always run." It responds to requests, that's all. Unless something is actively making a request to the website, it's not doing anything.
but that doesn't work for me since I need to be able to let the admin configure the times through the web application
Sure it does. More than one application can share a single database. In this case you'd have two applications: