17 lines
281 B
Makefile
17 lines
281 B
Makefile
HOST := fsn1.datavibe.net
|
|
WHEN := $(shell date -u +%Y-%m-%d.%H.%M.%S)
|
|
|
|
default: runlog
|
|
|
|
runlog:
|
|
script ./log.$(WHEN).txt bash -c "make run"
|
|
|
|
run: sync
|
|
ssh root@$(HOST) "bash /root/disktest.sh"
|
|
|
|
sync:
|
|
rsync -avP ./disktest.sh root@$(HOST):/root/disktest.sh
|
|
|
|
clean:
|
|
rm log.*.txt
|