diff --git a/back/services/cron.ts b/back/services/cron.ts index b866a4ba..8adcfa5a 100644 --- a/back/services/cron.ts +++ b/back/services/cron.ts @@ -241,7 +241,9 @@ export default class CronService { const [, commandStr, url] = doc.command.split(' '); let logPath = this.getKey(commandStr); const isQlCommand = doc.command.startsWith('ql '); - const key = (url && this.getKey(url)) || logPath; + const key = + (url && ['repo', 'raw'].includes(commandStr) && this.getKey(url)) || + logPath; if (isQlCommand) { logPath = 'update'; }