Definition of the AEM Sitemap Scheduler cron-like Expression
Hi all,
I'm trying to fully understand the cron-like expression for the AEM Sitemap Scheduler configuration.
On this page https://experienceleague.adobe.com/en/docs/experience-manager-learn/sites/seo/sitemaps#sitemap-scheduler-osgi-configuration there is an example of:
"0 0 2 1/1 * ? *"
So trying to understand this documented example from left to right:
0 (first): Minute 0
0 (second): Hour 0, so together with the first 0 that means MIDNIGHT
2: Only run on the 2nd of the month
1/1: Every month - but why use 1/1 and not * here?
*: Any day of the week
?: I guess this means every year, but why not use * here?
* (last one): what is this for?
So in summary I'd like to understand why 1/1 and ? where used instead of *?
And what is that last * for?
Many thanks,
David
