Created
June 19, 2013 20:25
-
-
Save misaelnieto/5817710 to your computer and use it in GitHub Desktop.
Kill minecraft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Set it to run with cron every 5 minutes or so | |
# 5 * * * * /path/to/kill-minecraft.sh | |
#Do this under your own risk. | |
ps -e --format pid,command | grep minecraft.LauncherFrame | cut -f1 -d ' ' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment