Skip to content

Commit

Permalink
fix cron schedule expression (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowiow authored Jan 24, 2024
1 parent fcd1068 commit 85635fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bastion-host-patch-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class BastionHostPatchManager extends Construct {
allowUnassociatedTargets: false,
cutoff: 0,
duration: 2,
schedule: 'cron(0 3 * * SUN *)',
schedule: 'cron(0 3 ? * SUN *)',
});

const maintenanceTarget = new CfnMaintenanceWindowTarget(this, 'MaintenanceWindowTarget', {
Expand Down

0 comments on commit 85635fa

Please sign in to comment.