Re: Strange issue using curl
RobbH <RobbH.ai0smn-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]> Mon, 28 Mar 2022 23:20:47 +0000
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
slartibartfast wrote: > When I combined four of these commands in a script file to start four > players at the same time I saw a time delay between them. Would adding > &> /dev/null > speed things up? > > Sent from my Pixel 3a using Tapatalk &> /dev/null just means that any output that the command produces will be discarded instead of cluttering the display. That might help reduce the delay a bit. What might help even more would be running all but the last command in the background. Otherwise, the system you're sending those commands from is waiting for each one to complete before it starts the next one. So just add a space and then one more "&" to the end of the command. curl yada-yada-yada &> /dev/null & LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic. ------------------------------------------------------------------------ RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=115932