Cron Task
To automate network scanning, Watchman Agent allows you to schedule regular executions using a cron task.
🛠️ Why schedule it?
Scheduling allows for:
- Automatic execution of the agent at defined intervals
- Periodic collection of network data
- Continuous updates on the platform without manual intervention
Setup
To configure a cron task:
- Open the Cron tab in the agent interface
- Fill in the fields:
- Minute: Specify the minute when the task should start (0–59)
- Hour: Specify the hour when the task should start (0–23)
- Day of the month: Specify the day (1–31) or leave blank for every day
- Month: Specify the month (1–12) or leave blank for every month
- Day of the week: Specify the day (0–6, 0 = Sunday) or leave blank for every day
- Save the configuration
- Your cron task is now scheduled, and the agent will run automatically according to the defined schedule.
- Execution logs will be available in the same tab, and you can stop the cron task at any time by clicking the Stop button.