You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
216 B
15 lines
216 B
4 months ago
|
#!/bin/bash
|
||
|
|
||
|
# Run the script in the background
|
||
|
node graphql-subscription-client.js &
|
||
|
|
||
|
# Capture the process ID of the script
|
||
|
pid=$!
|
||
|
|
||
|
# Wait for 60 seconds
|
||
|
sleep 13
|
||
|
|
||
|
# Kill the script using its process ID
|
||
|
kill $pid
|
||
|
|