Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

OptionDescriptionDefault
-d, --data-dirParquet data directoryrequired
--sensorSensor name for partitioning
--hiveUse hive-style date partitioningfalse
--intervalTime between runs30m
--time-windowAnalysis time window1h
-o, --outputReport 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 hunt and report features to be enabled
  • Combines the functionality of running rockfish hunt followed by rockfish report
  • Ideal for unattended production deployments