Odoo GraphQL Subscription using Node, Express JS for Sample
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.
|
#!/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 |
|
|
|
|