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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface Trigger.ScheduleOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.Trigger.ScheduleOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataplex.v1.Trigger.ScheduleOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataplex.v1.Trigger.ScheduleOrBuilder) \n\n public static interface Trigger.ScheduleOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getCron()\n\n public abstract String getCron()\n\nRequired. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running\nscans periodically.\nTo explicitly set a timezone in the cron tab, apply a prefix in the\ncron tab: **\"CRON_TZ=${IANA_TIME_ZONE}\"** or **\"TZ=${IANA_TIME_ZONE}\"** .\nThe **${IANA_TIME_ZONE}** may only be a valid string from IANA time zone\ndatabase\n([wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)).\nFor example, `CRON_TZ=America/New_York 1 * * * *`, or\n`TZ=America/New_York 1 * * * *`.\nThis field is required for Schedule scans.\n\n`string cron = 1;`\n\n### getCronBytes()\n\n public abstract ByteString getCronBytes()\n\nRequired. [Cron](https://en.wikipedia.org/wiki/Cron) schedule for running\nscans periodically.\nTo explicitly set a timezone in the cron tab, apply a prefix in the\ncron tab: **\"CRON_TZ=${IANA_TIME_ZONE}\"** or **\"TZ=${IANA_TIME_ZONE}\"** .\nThe **${IANA_TIME_ZONE}** may only be a valid string from IANA time zone\ndatabase\n([wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)).\nFor example, `CRON_TZ=America/New_York 1 * * * *`, or\n`TZ=America/New_York 1 * * * *`.\nThis field is required for Schedule scans.\n\n`string cron = 1;`"]]