cron property

  1. @TagNumber(1)
String get cron

Required. Cron schedule for running scans periodically.

To explicitly set a timezone in the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database (wikipedia). For example, CRON_TZ=America/New_York 1 * * * *, or TZ=America/New_York 1 * * * *.

This field is required for Schedule scans.

Implementation

@$pb.TagNumber(1)
$core.String get cron => $_getSZ(0);
  1. @TagNumber(1)
set cron (String v)

Implementation

@$pb.TagNumber(1)
set cron($core.String v) { $_setString(0, v); }