github.com/cozy/cozy-stack@v0.0.0-20240603063001-31110fa4cae1/docs/cli/cozy-stack_jobs_purge-old-jobs.md (about) 1 ## cozy-stack jobs purge-old-jobs 2 3 Purge old jobs from an instance 4 5 ``` 6 cozy-stack jobs purge-old-jobs <domain> [flags] 7 ``` 8 9 ### Examples 10 11 ``` 12 $ cozy-stack jobs purge-old-jobs example.mycozy.cloud 13 ``` 14 15 ### Options 16 17 ``` 18 --duration string duration to look for (ie. 3D, 2M) 19 -h, --help help for purge-old-jobs 20 --workers strings worker types to iterate over (all workers by default) 21 ``` 22 23 ### Options inherited from parent commands 24 25 ``` 26 --admin-host string administration server host (default "localhost") 27 --admin-port int administration server port (default 6060) 28 -c, --config string configuration file (default "$HOME/.cozy.yaml") 29 --domain string specify the domain name of the instance (default "cozy.localhost:8080") 30 --host string server host (default "localhost") 31 -p, --port int server port (default 8080) 32 ``` 33 34 ### SEE ALSO 35 36 * [cozy-stack jobs](cozy-stack_jobs.md) - Launch and manage jobs and workers 37