EHC ❯ Simple cron expression for expiry
-
Bug
-
Status: Closed
-
-
Resolution: Fixed
-
-
-
drb
-
Reporter: sourceforgetracker
-
September 21, 2009
-
0
-
Watchers: 0
-
September 22, 2009
-
September 22, 2009
Description
It would be nice to be able to set somekind of simple cron expression when a cache element is considered expired.
This can be used to expire all elements in the midnight etc. 3:00am
cronExpiry=”0 0 3 ? * *”
Will expire at 3:00 am at midnight
To start witdh we do not need as complex configurations for setting day, month etc. Most important is the times for specifying a certain time a day.
Maybe the cron parser code could be donated from another open-source project:
These projects has a cron parser:
- oscache
- quartz
If you need a helping hand with some of the features I will be able to help.
/Claus Ibsen Sourceforge Ticket ID: 1031791 - Opened By: nobody - 21 Sep 2004 10:17 UTC
Comments
Sourceforge Tracker 2009-09-21
Fiona OShea 2009-09-22
Re-opening so that I can properly close out these issues and have correct Resolution status in Jira
Logged In: YES user_id=693320
Claus
I actually use a quartz event to clear some caches periodically. That uses cache.removeAll().
Regards Greg Luck Comment by: gregluck - 15 Apr 2006 07:21 UTC