Daily Archives: 05.07.2021
Shell: repeat a task multiple time
All shells (bash/zsh): watch -n 3 «curl —location —request GET ‘http://…'» will run curl every 3 seconds until you break it. zsh specific: repeat 5 { curl —location —request GET ‘http://…’ } will repeat it 5 times without any delay