diff options
author | krebs <krebs@fuerkrebs> | 2011-11-04 12:40:09 -0400 |
---|---|---|
committer | krebs <krebs@fuerkrebs> | 2011-11-04 12:40:09 -0400 |
commit | c74c87e070eadac2acede8a416e7a0df90beb2df (patch) | |
tree | 47989fedfa4c92f0bf03c3efe5afadc57e4e16ad /census/sched-arping | |
parent | 29b328140d294d9f688f562f1da5115fe2d57d4c (diff) |
//census: add scheduler, update Makefile
sched-arping schedules the arping script call by utilizing the //util/bin/magic functionality
Diffstat (limited to 'census/sched-arping')
-rwxr-xr-x | census/sched-arping | 8 |
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 |