Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

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

Avatar

Administrator

@Diuc Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni