Class Schedule (2.2.2)

Schedule(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The scan is scheduled to run periodically.

Attribute

Name Description
cron str
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.