alphagov / govuk-helm-charts

Helm charts for the GOV.UK website and publishing platform (content management system). Cluster turnup automation is in https://github.com/alphagov/govuk-infrastructure.
https://www.gov.uk/
MIT License
12 stars 4 forks source link

Add cron jobs for GOV.UK Chat #2450

Closed davidgisbey closed 3 days ago

davidgisbey commented 1 week ago

Description

These jobs increment the amount of users that we give access too. Since the rake task uses pessimistic locking, i've ensured the second job runs a minute after the first job.

Realistically the second job should just wait for the transaction to finish, but running it a minute later seems slight safer.

These jobs run at

instant access places - 9am, 11am, 1pm & 3pm on weekdays delayed access places - 9.01am, 11.01am, 1.01pm & 3.01pm on weekdays

Ui for playing with cron job schedules

Just in case you want to check them

https://crontab.guru/#0_9,11,13,15_*_*_1-5

Trello card

https://trello.com/c/ToYKGVel/1892-cron-based-basic-places-schedule