Last active
November 16, 2018 06:21
-
-
Save Synashida/5916d7082690210ac54a2c4be63f2933 to your computer and use it in GitHub Desktop.
Task Spoolerで複数のキューを管理する ref: https://qiita.com/Syn256/items/d1383f0dd344bd63bfbd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TS_SOCKET=/tmp/ts-sock.add ts sleep 10 | |
TS_SOCKET=/tmp/ts-sock.del ts sleep 10 | |
TS_SOCKET=/tmp/ts-sock.edit ts sleep 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for i in {0..9}; do | |
TS_SOCKET=/tmp/ts-sock.add ts sleep 10 | |
TS_SOCKET=/tmp/ts-sock.del ts sleep 10 | |
TS_SOCKET=/tmp/ts-sock.edit ts sleep 10 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment