rockfish auto
Run hunt and report automatically at set intervals.
Overview
The auto command combines rockfish hunt and rockfish report into a single
continuous process that runs on a configurable schedule. This is useful for
production deployments where you want detection and reporting to happen
automatically without manual intervention.
Usage
rockfish auto [OPTIONS]
Options
| Option | Description | Default |
|---|---|---|
-d, --data-dir | Parquet data directory | required |
--sensor | Sensor name for partitioning | — |
--hive | Use hive-style date partitioning | false |
--interval | Time between runs | 30m |
--time-window | Analysis time window | 1h |
-o, --output | Report output directory | — |
Examples
# Run hunt + report every 30 minutes
rockfish auto -d /data --sensor prod-01 --hive \
--interval 30m --time-window 1h \
-o /var/lib/rockfish/reports/
# Hourly analysis with wider window
rockfish auto -d /data --sensor prod-01 --hive \
--interval 1h --time-window 4h \
-o /opt/rockfish/reports/
Notes
- Requires both
huntandreportfeatures to be enabled - Combines the functionality of running
rockfish huntfollowed byrockfish report - Ideal for unattended production deployments