mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-10-20 23:31:31 +02:00
- 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.
6 lines
111 B
Python
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
|