Skip to main content
GuideServerConfigure and deploy Tabsdata servers on your machine.TutorialsConfigure data integration workflows within a running Tabsdata server.API ReferenceCLI ReferenceRelease Notes
Version: 2.3.0

tdk cron enable

Enable a cron-triggered function

'tdk fn enable' restricted to functions that have a cron trigger; enabling an already-enabled one does nothing.

tdk cron enable \
--proj quickstart \
--format table \
--name sales_data \
--coll <function pinned.<locals>.default at 0x10b6c99e0> \
--profile production
FlagTypeRequiredDescription
--proj, -PstringOptionalProject to target; overrides the pinned project. Prompted for when a command needs one and neither is set.
-o, --formattable | json | yamlOptionalOutput format. 'json' and 'yaml' give a listing as an array and table data as one object per row.
--name, -nstringOptionalName of the cron-triggered function to enable.
--coll, -cstringOptionalName of the collection to which the function belongs. Defaults to <function pinned.<locals>.default at 0x10b6c99e0>.
--profilestringOptionalProfile whose login and pinned project and collection this command uses; with no NAME, the default profile. Default: the profile set with 'tdk set --profile', else the default profile.