github.com/argoproj/argo-cd/v2@v2.10.5/docs/user-guide/commands/argocd_proj_windows_update.md (about)

     1  # `argocd proj windows update` Command Reference
     2  
     3  ## argocd proj windows update
     4  
     5  Update a project sync window
     6  
     7  ### Synopsis
     8  
     9  Update a project sync window. Requires ID which can be found by running "argocd proj windows list PROJECT"
    10  
    11  ```
    12  argocd proj windows update PROJECT ID [flags]
    13  ```
    14  
    15  ### Examples
    16  
    17  ```
    18  # Change a sync window's schedule
    19  argocd proj windows update PROJECT ID \
    20      --schedule "0 20 * * *"
    21  
    22  ```
    23  
    24  ### Options
    25  
    26  ```
    27        --applications strings   Applications that the schedule will be applied to. Comma separated, wildcards supported (e.g. --applications prod-\*,website)
    28        --clusters strings       Clusters that the schedule will be applied to. Comma separated, wildcards supported (e.g. --clusters prod,staging)
    29        --duration string        Sync window duration. (e.g. --duration 1h)
    30    -h, --help                   help for update
    31        --namespaces strings     Namespaces that the schedule will be applied to. Comma separated, wildcards supported (e.g. --namespaces default,\*-prod)
    32        --schedule string        Sync window schedule in cron format. (e.g. --schedule "0 22 * * *")
    33        --time-zone string       Time zone of the sync window. (e.g. --time-zone "America/New_York") (default "UTC")
    34  ```
    35  
    36  ### Options inherited from parent commands
    37  
    38  ```
    39        --auth-token string               Authentication token
    40        --client-crt string               Client certificate file
    41        --client-crt-key string           Client certificate key file
    42        --config string                   Path to Argo CD config (default "/home/user/.config/argocd/config")
    43        --controller-name string          Name of the Argo CD Application controller; set this or the ARGOCD_APPLICATION_CONTROLLER_NAME environment variable when the controller's name label differs from the default, for example when installing via the Helm chart (default "argocd-application-controller")
    44        --core                            If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server
    45        --grpc-web                        Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2.
    46        --grpc-web-root-path string       Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. Set web root.
    47    -H, --header strings                  Sets additional header to all requests made by Argo CD CLI. (Can be repeated multiple times to add multiple headers, also supports comma separated headers)
    48        --http-retry-max int              Maximum number of retries to establish http connection to Argo CD server
    49        --insecure                        Skip server certificate and domain verification
    50        --kube-context string             Directs the command to the given kube-context
    51        --logformat string                Set the logging format. One of: text|json (default "text")
    52        --loglevel string                 Set the logging level. One of: debug|info|warn|error (default "info")
    53        --plaintext                       Disable TLS
    54        --port-forward                    Connect to a random argocd-server port using port forwarding
    55        --port-forward-namespace string   Namespace name which should be used for port forwarding
    56        --redis-haproxy-name string       Name of the Redis HA Proxy; set this or the ARGOCD_REDIS_HAPROXY_NAME environment variable when the HA Proxy's name label differs from the default, for example when installing via the Helm chart (default "argocd-redis-ha-haproxy")
    57        --redis-name string               Name of the Redis deployment; set this or the ARGOCD_REDIS_NAME environment variable when the Redis's name label differs from the default, for example when installing via the Helm chart (default "argocd-redis")
    58        --repo-server-name string         Name of the Argo CD Repo server; set this or the ARGOCD_REPO_SERVER_NAME environment variable when the server's name label differs from the default, for example when installing via the Helm chart (default "argocd-repo-server")
    59        --server string                   Argo CD server address
    60        --server-crt string               Server certificate file
    61        --server-name string              Name of the Argo CD API server; set this or the ARGOCD_SERVER_NAME environment variable when the server's name label differs from the default, for example when installing via the Helm chart (default "argocd-server")
    62  ```
    63  
    64  ### SEE ALSO
    65  
    66  * [argocd proj windows](argocd_proj_windows.md)	 - Manage a project's sync windows
    67