github.com/argoproj/argo-cd/v3@v3.2.1/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 --description string Sync window description 30 --duration string Sync window duration. (e.g. --duration 1h) 31 -h, --help help for update 32 --namespaces strings Namespaces that the schedule will be applied to. Comma separated, wildcards supported (e.g. --namespaces default,\*-prod) 33 --schedule string Sync window schedule in cron format. (e.g. --schedule "0 22 * * *") 34 --time-zone string Time zone of the sync window. (e.g. --time-zone "America/New_York") (default "UTC") 35 ``` 36 37 ### Options inherited from parent commands 38 39 ``` 40 --argocd-context string The name of the Argo-CD server context to use 41 --auth-token string Authentication token; set this or the ARGOCD_AUTH_TOKEN environment variable 42 --client-crt string Client certificate file 43 --client-crt-key string Client certificate key file 44 --config string Path to Argo CD config (default "/home/user/.config/argocd/config") 45 --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") 46 --core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server 47 --grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. 48 --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. 49 -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) 50 --http-retry-max int Maximum number of retries to establish http connection to Argo CD server 51 --insecure Skip server certificate and domain verification 52 --kube-context string Directs the command to the given kube-context 53 --logformat string Set the logging format. One of: json|text (default "json") 54 --loglevel string Set the logging level. One of: debug|info|warn|error (default "info") 55 --plaintext Disable TLS 56 --port-forward Connect to a random argocd-server port using port forwarding 57 --port-forward-namespace string Namespace name which should be used for port forwarding 58 --prompts-enabled Force optional interactive prompts to be enabled or disabled, overriding local configuration. If not specified, the local configuration value will be used, which is false by default. 59 --redis-compress string Enable this if the application controller is configured with redis compression enabled. (possible values: gzip, none) (default "gzip") 60 --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") 61 --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") 62 --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") 63 --server string Argo CD server address 64 --server-crt string Server certificate file 65 --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") 66 ``` 67 68 ### SEE ALSO 69 70 * [argocd proj windows](argocd_proj_windows.md) - Manage a project's sync windows 71