Actions
Bug #34134
closedOpenSCAP scheduling is always taking place on the next selected day (/etc/cron.d/foreman_scap_client_cron)
Difficulty:
easy
Triaged:
Yes
Bugzilla link:
Description
--------
Host > Compliance > Policies > Schedule (select ex Wednesday)
--------
schedules are created wrongly on hosts
0 1 * * 4 root /bin/sleep 203; /usr/bin/foreman_scap_client 2 2>&1 | logger -t foreman_scap_client
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_openscap/pull/521 added
Updated by Fabio Sbano over 3 years ago
DAYS_INTO_WEEK | = | { sunday: 0, monday: 1, tuesday: 2, wednesday: 3, thursday: 4, friday: 5, saturday: 6 } WEEKEND_DAYS | = | [ 6, 0 ]
https://api.rubyonrails.org/v6.1.4/classes/DateAndTime/Calculations.html
Updated by Fabio Sbano over 3 years ago
- Assignee set to Ondřej Pražák
- Difficulty set to easy
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases foreman_openscap 5.2.0 added
Updated by Fabio Sbano over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_openscap|b70db22f0b12a8411fa19e2852c20c4ca8546c78.
Updated by Lukas Zapletal over 3 years ago
- Triaged changed from No to Yes
- Bugzilla link set to 2036721
Actions