Reference documentation and code samples for the Dataplex V1 API class Google::Cloud::Dataplex::V1::Trigger::Schedule.
The scan is scheduled to run periodically.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cron
def cron() -> ::String
-
(::String) — 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 * * * *
, orTZ=America/New_York 1 * * * *
.This field is required for Schedule scans.
#cron=
def cron=(value) -> ::String
-
value (::String) — 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 * * * *
, orTZ=America/New_York 1 * * * *
.This field is required for Schedule scans.
-
(::String) — 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 * * * *
, orTZ=America/New_York 1 * * * *
.This field is required for Schedule scans.