aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netdisco/files/patch-netdisco.crontab
blob: 8242ead6df01ba0a524de90f29b1e284d330471b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
--- netdisco.crontab.orig   2010-07-04 02:08:01.000000000 +0100
+++ netdisco.crontab    2010-07-04 02:07:28.000000000 +0100
@@ -4,34 +4,34 @@
 # $Id: netdisco.crontab,v 1.8 2009/06/10 18:39:03 maxbaker Exp $
 
 #MAILTO=max
-PATH=/bin:/usr/bin:/usr/local/bin
+PATH=/bin:/usr/bin:%%PREFIX%%/bin
 
 # -- Weekly --
 
 # Walk network for new devices once a week (Wed @ 14:00)
-0 14 * * 3      /usr/local/netdisco/netdisco -b -r center_network_device
+0 14 * * 3      %%PREFIX%%/bin/netdisco -b -r center_network_device
 
 # -- Daily --
 
 # Backup at 1am every day
-0 1 * * *       /usr/local/netdisco/netdisco -b -B 
+0 1 * * *       %%PREFIX%%/bin/netdisco -b -B 
 
 # Restart admin panel daemon nightly
-0 2 * * *       /usr/local/netdisco/netdisco -b -p restart
+0 2 * * *       %%PREFIX%%/bin/netdisco -b -p restart
 
 # Refresh Graph every day
-0 3 * * *       /usr/local/netdisco/netdisco -b -g 2>&1 
+0 3 * * *       %%PREFIX%%/bin/netdisco -b -g 2>&1 
 
 # Refresh Devices at 9:00 every day
-0 9 * * *      /usr/local/netdisco/netdisco -b -R 
+0 9 * * *      %%PREFIX%%/bin/netdisco -b -R 
 
 # -- Hourly --
 
 # Arp Nip every hour on the half hour
-30 * * * *  /usr/local/netdisco/netdisco -b -a 
+30 * * * *  %%PREFIX%%/bin/netdisco -b -a 
 
 # Mac Suck every 2 hours
-0 */2 * * * /usr/local/netdisco/netdisco -b -m 
+0 */2 * * * %%PREFIX%%/bin/netdisco -b -m 
 
 # Grab NetBios Info from Nodes three times a day
-0 8,13,21 * * * /usr/local/netdisco/netdisco -b -w
+0 8,13,21 * * * %%PREFIX%%/bin/netdisco -b -w