OS Manuals

/usr/bin/scheduler

Dapr Scheduler service is used to schedule different types of jobs, running in self-hosted mode or on Kubernetes.Dapr Scheduler service is used to schedule different types of jobs, running in self-hosted mode or on Kubernetes.

From dapr-scheduler-1.16 1.16.21-r4 (enterprise-packages), captured 2026-11-08 by running scheduler --help (exit 0). permalink

Usage of scheduler:
      --enable-metrics                                                Enable prometheus metric (default true)
      --etcd-backend-batch-interval string                            Maximum time before committing the backend transaction. (default "50ms")
      --etcd-backend-batch-limit int                                  Maximum operations before committing the backend transaction. (default 5000)
      --etcd-client-endpoints strings                                 Comma-separated list of etcd client endpoints to connect to. Only used when --etcd-embed is false.
      --etcd-client-listen-address string                             Listen address for etcd client communication (default "localhost")
      --etcd-client-password string                                   Password for etcd client authentication. Only used when --etcd-embed is false.
      --etcd-client-port uint                                         Port for etcd client communication (default 2379)
      --etcd-client-username string                                   Username for etcd client authentication. Only used when --etcd-embed is false.
      --etcd-compaction-mode string                                   Compaction mode for etcd. Can be 'periodic' or 'revision' (default "periodic")
      --etcd-compaction-retention string                              Compaction retention for etcd. Can express time  or number of revisions, depending on the value of 'etcd-compaction-mode' (default "10m")
      --etcd-data-dir string                                          Directory to store scheduler etcd data (default "./data")
      --etcd-embed                                                    When enabled, the Etcd database will be embedded in the scheduler server. If false, the scheduler will connect to an external Etcd cluster using the --etcd-client-endpoints flag. (default true)
      --etcd-experimental-bootstrap-defrag-threshold-megabytes uint   Minimum number of megabytes needed to be freed for etcd to consider running defrag during bootstrap. Needs to be set to non-zero value to take effect. (default 100)
      --etcd-initial-cluster strings                                  Initial etcd cluster peers (default [dapr-scheduler-server-0=http://localhost:2380])
      --etcd-initial-election-tick-advance                            Whether to fast-forward initial election ticks on boot for faster election. When it is true, then local member fast-forwards election ticks to speed up “initial” leader election trigger. This benefits the case of larger election ticks. Disabling this would slow down initial bootstrap process for cross datacenter deployments. Make your own tradeoffs by configuring this flag at the cost of slow initial bootstrap.
      --etcd-max-snapshots uint                                       Maximum number of snapshot files to retain (0 is unlimited). (default 10)
      --etcd-max-wals uint                                            Maximum number of write-ahead logs to retain (0 is unlimited). (default 10)
      --etcd-metrics string                                           Level of detail for exported metrics, specify ’extensive’ to include histogram metrics. (default "basic")
      --etcd-snapshot-count uint                                      Number of committed transactions to trigger a snapshot to disk. (default 10000)
      --etcd-space-quota string                                       Space quota for etcd (default "9.2E")
      --healthz-listen-address string                                 The listening address for the healthz server
      --healthz-port int                                              The port for the healthz server to listen on (default 8080)
      --id string                                                     Scheduler server ID (default "dapr-scheduler-server-0")
      --listen-address string                                         The address for the Scheduler to listen on
      --log-as-json                                                   print log as JSON (default false)
      --log-level string                                              Options are debug, info, warn, error, or fatal (default info) (default "info")
      --metrics-listen-address string                                 The address for the metrics server (default "0.0.0.0")
      --metrics-port string                                           The port for the metrics server (default "9090")
      --mode string                                                   Runtime mode for Dapr Scheduler (default "standalone")
      --override-broadcast-host-port string                           Override the address (host:port) which is broadcast by this scheduler host that daprd instances will use to connect to this scheduler. This option should only be set by the CLI when in standalone mode, or in exotic environments whereby the routable scheduler address (host:port) is different from its own understood routable address, i.e. in a layered or natted network.
      --port int                                                      The port for the scheduler server to listen on (default 50006)
      --sentry-address string                                         Address of the Sentry service (default "dapr-sentry.default.svc:443")
      --tls-enabled                                                   Should TLS be enabled for the scheduler gRPC server
      --trust-anchors-file string                                     Filepath to the trust anchors for the Dapr control plane (default "/var/run/secrets/dapr.io/tls/ca.crt")
      --trust-domain string                                           Trust domain for the Dapr control plane (default "localhost")
Options (35)
OptionDescriptionSource
--enable-metricsEnable prometheus metric (default true)help
--etcd-backend-batch-interval stringMaximum time before committing the backend transaction.help
--etcd-backend-batch-limit intMaximum operations before committing the backend transaction.help
--etcd-client-endpoints stringsComma-separated list of etcd client endpoints to connect to.help
--etcd-client-listen-address stringListen address for etcd client communication (default "localhost")help
--etcd-client-password stringPassword for etcd client authentication.help
--etcd-client-port uintPort for etcd client communication (default 2379)help
--etcd-client-username stringUsername for etcd client authentication.help
--etcd-compaction-mode stringCompaction mode for etcd.help
--etcd-compaction-retention stringCompaction retention for etcd.help
--etcd-data-dir stringDirectory to store scheduler etcd data (default "./data")help
--etcd-embedWhen enabled, the Etcd database will be embedded in the scheduler server.help
--etcd-experimental-bootstrap-defrag-threshold-megabytes uintMinimum number of megabytes needed to be freed for etcd to consider running defrag during bootstrap.help
--etcd-initial-cluster stringsInitial etcd cluster peers (default [dapr-scheduler-server-0=http://localhost:2380])help
--etcd-initial-election-tick-advanceWhether to fast-forward initial election ticks on boot for faster election.help
--etcd-max-snapshots uintMaximum number of snapshot files to retain (0 is unlimited).help
--etcd-max-wals uintMaximum number of write-ahead logs to retain (0 is unlimited).help
--etcd-metrics stringLevel of detail for exported metrics, specify ’extensive’ to include histogram metrics.help
--etcd-snapshot-count uintNumber of committed transactions to trigger a snapshot to disk.help
--etcd-space-quota stringSpace quota for etcd (default "9.2E")help
--healthz-listen-address stringThe listening address for the healthz serverhelp
--healthz-port intThe port for the healthz server to listen on (default 8080)help
--id stringScheduler server ID (default "dapr-scheduler-server-0")help
--listen-address stringThe address for the Scheduler to listen onhelp
--log-as-jsonprint log as JSON (default false)help
--log-level stringOptions are debug, info, warn, error, or fatal (default info) (default "info")help
--metrics-listen-address stringThe address for the metrics server (default "0.0.0.0")help
--metrics-port stringThe port for the metrics server (default "9090")help
--mode stringRuntime mode for Dapr Scheduler (default "standalone")help
--override-broadcast-host-port stringOverride the address (host:port) which is broadcast by this scheduler host that daprd instances will use to connect to this scheduler.help
--port intThe port for the scheduler server to listen on (default 50006)help
--sentry-address stringAddress of the Sentry service (default "dapr-sentry.default.svc:443")help
--tls-enabledShould TLS be enabled for the scheduler gRPC serverhelp
--trust-anchors-file stringFilepath to the trust anchors for the Dapr control plane (default "/var/run/secrets/dapr.io/tls/ca.crt")help
--trust-domain stringTrust domain for the Dapr control plane (default "localhost")help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.