Setting custom Watch Scan periods

When a new subscription to a watch is created, it uses the default scan period of 30 minutes unless otherwise specified. You can also modify the scan period of an existing subscription.

Set the Default Scan Period When Upgrading from 3.7.4 or earlier to 3.8.0 or later

To update the default scan period that is applied during the migration, run the following command:
# asconfigurator -x "set_server_data;watchd_scan_period,value"

Modify the Scan Period of an Existing Subscription

In the subscription model, you cannot update the scan period of an existing subscription. Instead, create a new subscription and let the old one expire. To retrieve the configuration of the existing subscription, run the following command:

# /opt/aspera/bin/aswatchadmin query-subscription daemon

To create a new subscription and set the scan period, run the following command:

# /opt/aspera/bin/aswatchadmin subscribe daemon path --scan-period=seconds