Files
2024-06-03 20:23:50 +05:30

15 lines
216 B
Bash
Executable File

#!/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