-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
schedules - date/time problems #1911
Comments
This would need to be moved over to https://github.com/greenbone/gvmd/issues as the scanner isn't responsible for such schedules. |
Note: I have created an internal tracking issue for this problem at GEA-114. |
Thanks for the report. |
Hi, there is a problem with the schedules...
My local time zone is PST/PDT (UTC-8). The (Kali) OS is set to PST/PDT and everything else is behaving as expected.
$ cat /etc/timezone
America/Los_Angeles
In Dec 2022, I created a schedule in OpenVAS to run
every 3rd Wed at 12:00 AM EST/EDT (UTC-5)
(note that 12:00AM and 12:01AM behave the same here)
It worked in December and January, and it should run tonight, but instead OpenVAS is saying it will run NEXT MONTH.
(At least I'd expect it to run next week in the worst case. And oddly, next month will potentially have the same issue as the 2nd Tuesday is again adj. to 3rd Wed, yet it says it will run.)
If I hadn't double-checked the task, we'd have missed our scan window for the month, leading to a compliance failure.
WORKAROUND:
change the schedule to 5AM UTC instead of 12AM EST/EDT.
This appears to work; says will run tonight. But this workaround shouldn't be necessary.
$ openvas --version
OpenVAS 21.4.4
gvm-libs 21.4.4
$ cat /etc/timezone
America/Los_Angeles
$ lsb_release -a
Description: Kali GNU/Linux Rolling
Release: 2022.3
Thanks!
The text was updated successfully, but these errors were encountered: