Skip to content

Instantly share code, notes, and snippets.



Created Jan 19, 2018
What would you like to do?
Sending simple push to your device after long-running process
curl --header 'Access-Token: <YOUR_TOKEN_HERE>' \
--header 'Content-Type: application/json' \
--data-binary $DATA \
--silent \
--request POST \ > /dev/null

This comment has been minimized.

Copy link
Owner Author

@redism redism commented Jan 19, 2018

chmod +x send
mv send /usr/local/bin

Usage : sleep 5 ; send done, and take some coffee.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment