Skip to main content

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:

  1. Open the Cron tab in the agent interface
  2. 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
  3. Save the configuration
Cron task configuration in Watchman Agent
  1. Your cron task is now scheduled, and the agent will run automatically according to the defined schedule.
  2. Execution logs will be available in the same tab, and you can stop the cron task at any time by clicking the Stop button.