Skip to content

Instantly share code, notes, and snippets.

@kingsloi
Last active December 5, 2017 23:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kingsloi/9226c2c2506b1c748e31e6e56a145d78 to your computer and use it in GitHub Desktop.
Save kingsloi/9226c2c2506b1c748e31e6e56a145d78 to your computer and use it in GitHub Desktop.
HAYO
# Download
composer global require heyareyouonline/hayo
# Register
hayo register <token>
# Usage
hayo online # Go online
hayo offline # Go offline
hayo heartbeat # Send single heartbeat
hayo team <team> offline # Appear offline from team
# Add Automatic Heartbeat Cronjob
# See: https://crontab.guru for timing info
crontab -e
* * * * * /Users/kingsley/.composer/vendor/bin/hayo heartbeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment