From c74c87e070eadac2acede8a416e7a0df90beb2df Mon Sep 17 00:00:00 2001 From: krebs Date: Fri, 4 Nov 2011 12:40:09 -0400 Subject: //census: add scheduler, update Makefile sched-arping schedules the arping script call by utilizing the //util/bin/magic functionality --- census/sched-arping | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 census/sched-arping (limited to 'census/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 -- cgit v1.2.3