Files
rengine/shared/definitions/schedule_constants.py
T
Yogesh Ojha 1945242c1b feat: implement scan scheduling functionality
- Added new types and interfaces for scan scheduling in the frontend.
- Created a new Svelte page for managing scheduled scans, including listing, creating, editing, and deleting schedules.
- Implemented backend models and services for scan schedules, including handling different schedule types (one-off, interval, daily, cron).
- Introduced a Celery task to manage the execution of scheduled scans based on their defined timing.
- Enhanced notification system to include alerts for newly discovered subdomains during scans.
- Added utility functions for handling time zones and scheduling logic.
2026-06-24 08:10:21 +05:30

6 lines
111 B
Python

import re
TIME_RE = re.compile(r"^([01]\d|2[0-3]):[0-5]\d$")
MAX_INTERVAL = 100000
MAX_SCHEDULE_TARGETS = 500