summaryrefslogtreecommitdiffstats
path: root/census/sched-arping
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-11-07 18:18:03 +0100
committermakefu <github@syntax-fehler.de>2011-11-07 18:18:03 +0100
commitcbf6455e58624dc3394b8506481e4b6e5ee58094 (patch)
treeecd43fb47357fb6bf1ee2dabccbf74850ead3079 /census/sched-arping
parent1d7d5f8eafb7197387c57e1a85f704de04f00c5b (diff)
parent207a4ec405d3229a9d2e200b7803c3068d513265 (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'census/sched-arping')
-rwxr-xr-xcensus/sched-arping8
1 files changed, 8 insertions, 0 deletions
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