mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-26 04:50:36 +00:00
Cron testing
This commit is contained in:
parent
cb1906402d
commit
72e4ec4ea1
3
bin/cron
3
bin/cron
|
@ -1,5 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
killall java
|
PID="$(pgrep java)"
|
||||||
|
kill -9 $PID
|
||||||
rm -rf plugins/ worlds/
|
rm -rf plugins/ worlds/
|
||||||
ssh -i .key -o StrictHostKeyChecking=no serv@kaboom.pw 'rm -rf sync/'
|
ssh -i .key -o StrictHostKeyChecking=no serv@kaboom.pw 'rm -rf sync/'
|
||||||
reboot
|
reboot
|
||||||
|
|
Loading…
Reference in a new issue