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 17, 2023
2 parents e20569f + 33e833c commit a064674
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cdk/lib/tpk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ export class HeratepalveluTPKStack extends HeratepalveluStack {

new events.Rule(this, "TPKNiputusHandlerDefaultScheduleRule", {
schedule: events.Schedule.expression(
`cron(5,25,45 0-5 * JUN,DEC MON,THU *)`
`cron(5,25,45 0-5 ? JUN,DEC MON,THU *)`
),
targets: [new targets.LambdaFunction(tpkNiputusHandler)]
});
new events.Rule(this, "TPKNiputusHandlerJanuaryFirstScheduleRule", {
schedule: events.Schedule.expression(
`cron(5,25,45 0-5 1 JAN * *)`
`cron(5,25,45 0-5 1 JAN ? *)`
),
targets: [new targets.LambdaFunction(tpkNiputusHandler)]
});
Expand All @@ -110,13 +110,13 @@ export class HeratepalveluTPKStack extends HeratepalveluStack {

new events.Rule(this, "TPKArvoCallHandlerDefaultScheduleRule", {
schedule: events.Schedule.expression(
`cron(5,25,45 6-18 * JUN,DEC MON,THU *)`
`cron(5,25,45 6-18 ? JUN,DEC MON,THU *)`
),
targets: [new targets.LambdaFunction(tpkArvoCallHandler)]
});
new events.Rule(this, "TPKArvoCallHandlerJanuaryFirstScheduleRule", {
schedule: events.Schedule.expression(
`cron(5,25,45 6-18 1 JAN * *))`
`cron(5,25,45 6-18 1 JAN ? *))`
),
targets: [new targets.LambdaFunction(tpkArvoCallHandler)]
});
Expand Down

0 comments on commit a064674

Please sign in to comment.