catch setup resource errors

pull/273/head
Frostebite 2021-06-26 03:56:39 +01:00
parent c3d4c66842
commit 85e1a0f718
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored
View File

@ -1459,7 +1459,7 @@ class KubernetesCleanupCronJob {
],
};
batchJob.spec = {
schedule: '0 1 * * *',
schedule: `0 ${new Date().getUTCHours() + 3} * * *`,
jobTemplate: {
spec: {
template: { spec },

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -33,7 +33,7 @@ class KubernetesCleanupCronJob {
],
};
batchJob.spec = {
schedule: '0 1 * * *',
schedule: `0 ${new Date().getUTCHours() + 3} * * *`,
jobTemplate: {
spec: {
template: { spec },