From 8dafbbb8b8df819999cde54fe14f1610616b76ab Mon Sep 17 00:00:00 2001 From: Jussi Hallila Date: Mon, 3 Jan 2022 15:15:54 +0100 Subject: [PATCH] Swap default example cadence to once a month Signed-off-by: Jussi Hallila --- packages/backend/src/plugins/techInsights.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/plugins/techInsights.ts b/packages/backend/src/plugins/techInsights.ts index ec7421c65d..a05ddc339a 100644 --- a/packages/backend/src/plugins/techInsights.ts +++ b/packages/backend/src/plugins/techInsights.ts @@ -41,11 +41,11 @@ export default async function createPlugin({ discovery, factRetrievers: [ createFactRetrieverRegistration( - '1 * 1 1 *', // Example cron, At minute 1 on day-of-month 1 in January. + '1 1 1 * *', // Example cron, At 01:01 on day-of-month 1. entityOwnershipFactRetriever, ), - createFactRetrieverRegistration('1 * 1 1 *', entityMetadataFactRetriever), - createFactRetrieverRegistration('1 * 1 1 *', techdocsFactRetriever), + createFactRetrieverRegistration('1 1 1 * *', entityMetadataFactRetriever), + createFactRetrieverRegistration('1 1 1 * *', techdocsFactRetriever), ], factCheckerFactory: new JsonRulesEngineFactCheckerFactory({ checks: [