mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
misc: updated repeat schedule for auto renewal
This commit is contained in:
@@ -164,15 +164,16 @@ export const pkiSubscriberQueueServiceFactory = ({
|
||||
await queueService.stopRepeatableJob(
|
||||
QueueName.PkiSubscriber,
|
||||
QueueJobs.PkiSubscriberDailyAutoRenewal,
|
||||
// { pattern: "0 0 * * *", utc: true },
|
||||
{ pattern: "*/30 * * * * *", utc: true },
|
||||
{ pattern: "0 0 * * *", utc: true },
|
||||
// { pattern: "*/30 * * * * *", utc: true } // for testing
|
||||
QueueName.PkiSubscriber // just a job id
|
||||
);
|
||||
|
||||
await queueService.queue(QueueName.PkiSubscriber, QueueJobs.PkiSubscriberDailyAutoRenewal, undefined, {
|
||||
delay: 5000,
|
||||
jobId: QueueName.PkiSubscriber,
|
||||
repeat: { pattern: "*/30 * * * * *", utc: true }
|
||||
// { pattern: "*/30 * * * * *", utc: true } // for testing
|
||||
repeat: { pattern: "0 0 * * *", utc: true }
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user