diff options
| -rw-r--r-- | census/Makefile | 3 | ||||
| -rwxr-xr-x | census/sched-arping | 8 | 
2 files changed, 9 insertions, 2 deletions
diff --git a/census/Makefile b/census/Makefile index 2c6c1c03..9993bf2a 100644 --- a/census/Makefile +++ b/census/Makefile @@ -1,6 +1,5 @@  .phony: all  all: arping.py arping_users.py -	echo "call python ./arping_users.py v"  install: -	apt-get install python-scapy +	./sched-arping diff --git a/census/sched-arping b/census/sched-arping new file mode 100755 index 00000000..d281cac3 --- /dev/null +++ b/census/sched-arping @@ -0,0 +1,8 @@ +#!/bin/sh + +TMP=`mktemp` +crontab -l >$TMP + +echo "23 * * * * $PWD/arping_users.py > $PWD/../db/arping" | +../util/bin/magic "arping" create $TMP +crontab $TMP  | 
