Expand my Community achievements bar.

Is there any implementation we pass CRON expression to DailyExpiresHeaderFilter rather than time.

Avatar

Level 1

Hi All,
I'm looking for suggestions where i need to use this filter to have something to refresh at 2 minutes past each hour.
Acs commons implementation take simple date format, where i'm looking for custom implementation where we can configure CRON expressions for the same.

3 Replies

Avatar

Level 5

Hi @Diuc 

 

For ACS-TTL based implementation, you can apply customization to write your own logic -

 

Similar example i found for DispatcherMaxAgeHeaderFilter.java

 

TTL based ACS logic links : GitHub Link

 

Hope this helps 

 

Thanks

 

 

 

 

Avatar

Community Advisor

Hi @Diuc 

 

Can you please provide more details on your requirement. We typically use cron expression for a scheduler so curious to learn more on your request.

 

Thanks

Narendra