Skip to content
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

bug: Schedule Scan does not run after creating a new schedule scan task #1015

Closed
1 task done
S3ntago opened this issue Oct 24, 2023 · 3 comments
Closed
1 task done
Labels
bug Something isn't working release/2.1.1 testing

Comments

@S3ntago
Copy link

S3ntago commented Oct 24, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi,

I found that the schedule scan is not working proberl, after creating a new schedule scan, the scan does not run at all, here an example of creating 2 schedule scans and after 24 hrs they still didn't start.
image

Expected Behavior

Steps To Reproduce

Create a new schedule scan

Environment

- reNgine: 2.0
- OS: 
- Python: 
- Docker Engine: 
- Docker Compose: 
- Browser:

Anything else?

No response

@github-actions
Copy link
Contributor

👋 Hi @S3ntago,
Issues is only for reporting a bug/feature request. Please read documentation before raising an issue https://rengine.wiki
For very limited support, questions, and discussions, please join reNgine Discord channel: https://discord.gg/azv6fzhNCE
Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

@psyray psyray self-assigned this Nov 18, 2023
@psyray psyray added bug Something isn't working 2.0.0 testing labels Nov 18, 2023
@yogeshojha yogeshojha removed the 2.0.0 label Nov 20, 2023
@NadgobKhan
Copy link

NadgobKhan commented Feb 5, 2024

Hello, adding more info regarding this issue. I am running on reNgine v2.0.2.
I noticed whenever the scheduled scan is supposed to start, I get this warning in the logs:

rengine-celery-beat-1  | py.warnings | /usr/local/lib/python3.10/dist-packages/django/db/models/fields/__init__.py:1416: RuntimeWarning: DateTimeField PeriodicTask.last_run_at received a naive datetime (2024-02-02 14:58:32.302885) while time zone support is active.
rengine-celery-beat-1  |   warnings.warn("DateTimeField %s received a naive datetime (%s)"
rengine-celery-beat-1  |

So it might have something to do with the way the date of the last_run_at is sent.

@yogeshojha
Copy link
Owner

Hi @S3ntago thank you for reporting

This will be fixed with #1313 1313

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release/2.1.1 testing
Projects
None yet
Development

No branches or pull requests

4 participants