fix: use task id as hash
TS Lint / Oxlint (push) Successful in 52s
TS Lint / TypeScript (push) Successful in 1m5s
TS Lint / ESLint (push) Successful in 1m10s
Docker Build / build (push) Successful in 4m57s

This commit is contained in:
2026-07-19 18:29:26 +02:00
parent ede6157582
commit b12f1b62d4
+1
View File
@@ -46,6 +46,7 @@ export function taskNextReset(task: Task): Date | null {
try { try {
const interval = CronExpressionParser.parse(task.reset_cron, { const interval = CronExpressionParser.parse(task.reset_cron, {
currentDate: task.check_date, currentDate: task.check_date,
hashSeed: task.id,
}); });
return interval.next().toDate(); return interval.next().toDate();
} catch { } catch {