github.com/argoproj/argo-cd/v2@v2.10.5/docs/user-guide/commands/argocd_proj_windows.md (about) 1 # `argocd proj windows` Command Reference 2 3 ## argocd proj windows 4 5 Manage a project's sync windows 6 7 ``` 8 argocd proj windows [flags] 9 ``` 10 11 ### Examples 12 13 ``` 14 15 #Add a sync window to a project 16 argocd proj windows add my-project \ 17 --schedule "0 0 * * 1-5" \ 18 --duration 3600 \ 19 --prune 20 21 #Delete a sync window from a project 22 argocd proj windows delete <project-name> <window-id> 23 24 #List project sync windows 25 argocd proj windows list <project-name> 26 ``` 27 28 ### Options 29 30 ``` 31 -h, --help help for windows 32 ``` 33 34 ### Options inherited from parent commands 35 36 ``` 37 --auth-token string Authentication token 38 --client-crt string Client certificate file 39 --client-crt-key string Client certificate key file 40 --config string Path to Argo CD config (default "/home/user/.config/argocd/config") 41 --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") 42 --core If set to true then CLI talks directly to Kubernetes instead of talking to Argo CD API server 43 --grpc-web Enables gRPC-web protocol. Useful if Argo CD server is behind proxy which does not support HTTP2. 44 --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. 45 -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) 46 --http-retry-max int Maximum number of retries to establish http connection to Argo CD server 47 --insecure Skip server certificate and domain verification 48 --kube-context string Directs the command to the given kube-context 49 --logformat string Set the logging format. One of: text|json (default "text") 50 --loglevel string Set the logging level. One of: debug|info|warn|error (default "info") 51 --plaintext Disable TLS 52 --port-forward Connect to a random argocd-server port using port forwarding 53 --port-forward-namespace string Namespace name which should be used for port forwarding 54 --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") 55 --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") 56 --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") 57 --server string Argo CD server address 58 --server-crt string Server certificate file 59 --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") 60 ``` 61 62 ### SEE ALSO 63 64 * [argocd proj](argocd_proj.md) - Manage projects 65 * [argocd proj windows add](argocd_proj_windows_add.md) - Add a sync window to a project 66 * [argocd proj windows delete](argocd_proj_windows_delete.md) - Delete a sync window from a project. Requires ID which can be found by running "argocd proj windows list PROJECT" 67 * [argocd proj windows disable-manual-sync](argocd_proj_windows_disable-manual-sync.md) - Disable manual sync for a sync window 68 * [argocd proj windows enable-manual-sync](argocd_proj_windows_enable-manual-sync.md) - Enable manual sync for a sync window 69 * [argocd proj windows list](argocd_proj_windows_list.md) - List project sync windows 70 * [argocd proj windows update](argocd_proj_windows_update.md) - Update a project sync window 71