1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-18 07:52:23 +01:00

(bug) do not plan version check at invalid cron

This commit is contained in:
Sylvain 2022-03-15 16:07:38 +01:00
parent 3f7bf8e947
commit fd971884b3
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@
- Updated sidekiq-unique-jobs to 7.1.15 - Updated sidekiq-unique-jobs to 7.1.15
- Removed unmaintained gem sidekiq-cron and replaced it with sidekiq-scheduler - Removed unmaintained gem sidekiq-cron and replaced it with sidekiq-scheduler
- Fix a bug: a sentence was not linked to a translation key - Fix a bug: a sentence was not linked to a translation key
- Fix a bug: the version check may be scheduled at an invalid time
- Fix a bug: the moment-timezone relied on an outdated version of moment with a case-sensitive locale file - Fix a bug: the moment-timezone relied on an outdated version of moment with a case-sensitive locale file
- Fix a security issue: updated image_processing to 1.12.2 to fix [CVE-2022-24720](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24720) - Fix a security issue: updated image_processing to 1.12.2 to fix [CVE-2022-24720](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24720)
- Fix a security issue: updated url-parse to 1.5.10 to fix [CVE-2022-0686](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0686), [CVE-2022-0691](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0691), [CVE-2022-0639](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0639) and [CVE-2022-0512](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0512) - Fix a security issue: updated url-parse to 1.5.10 to fix [CVE-2022-0686](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0686), [CVE-2022-0691](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0691), [CVE-2022-0639](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0639) and [CVE-2022-0512](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0512)

View File

@ -37,9 +37,9 @@ free_disk_space:
# schedule a version check, every week at the current day+time # schedule a version check, every week at the current day+time
# this will prevent that all the instances query the hub simultaneously # this will prevent that all the instances query the hub simultaneously
<% m = DateTime.current.minute - 1; h = DateTime.current.hour; d = DateTime.current.cwday %> <% h = DateTime.current - 1.minute %>
version_check: version_check:
cron: <%="#{m} #{h} * * #{d}" %> cron: <%="#{h.strftime('%M %H')} * * #{h.cwday}" %>
class: VersionCheckWorker class: VersionCheckWorker
queue: system queue: system