Skip to content

Commit

Permalink
Merge branch 'EH-1578' into qa
Browse files Browse the repository at this point in the history
  • Loading branch information
tomikat committed Nov 21, 2023
2 parents dae4fb0 + 1e244ed commit 6892d28
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cdk/lib/tpk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ export class HeratepalveluTPKStack extends HeratepalveluStack {
schedule: events.Schedule.expression(
`cron(5,25,45 0-5 ? JUN,DEC MON,THU *)`
),
enabled: false,
enabled: true,
targets: [new targets.LambdaFunction(tpkNiputusHandler)]
});
new events.Rule(this, "TPKNiputusHandlerJanuaryFirstScheduleRule", {
new events.Rule(this, "TPKNiputusHandlerFinalizingScheduleRule", {
schedule: events.Schedule.expression(
`cron(5,25,45 0-5 1 JAN ? *)`
`cron(5,25,45 0-5 1 JAN,JUL ? *)`
),
enabled: false,
enabled: true,
targets: [new targets.LambdaFunction(tpkNiputusHandler)]
});

Expand All @@ -114,14 +114,14 @@ export class HeratepalveluTPKStack extends HeratepalveluStack {
schedule: events.Schedule.expression(
`cron(5,25,45 6-18 ? JUN,DEC MON,THU *)`
),
enabled: false,
enabled: true,
targets: [new targets.LambdaFunction(tpkArvoCallHandler)]
});
new events.Rule(this, "TPKArvoCallHandlerJanuaryFirstScheduleRule", {
new events.Rule(this, "TPKArvoCallHandlerFinalizingScheduleRule", {
schedule: events.Schedule.expression(
`cron(5,25,45 6-18 1 JAN ? *)`
`cron(5,25,45 6-18 1 JAN,JUL ? *)`
),
enabled: false,
enabled: true,
targets: [new targets.LambdaFunction(tpkArvoCallHandler)]
});

Expand Down

0 comments on commit 6892d28

Please sign in to comment.