Hello!
I have fairly big ArrayList which I want to have recalculated and put in Cache each night around 2. How can I achieve that? There's option to set time of expiration, but that doesn't cover up my needs.
Hello!
I have fairly big ArrayList which I want to have recalculated and put in Cache each night around 2. How can I achieve that? There's option to set time of expiration, but that doesn't cover up my needs.
One option would be to have the cache object have a FileDependency and have some scheduled task change the file once per day.
It may not be "pretty" BUT if you have some scheduled task (or SQL Server Job or some other process that can run a file) that updates the data that is used to create the data that is contained in this ArrayList, an appropriate option would be to alter the file in that (code, SQL Server Job, etc).