Commits

Anonymous committed 2abc95a

add scrum reminder

Comments (0)

Files changed (1)

-#!/bin/sh
+#!/bin/bash
 ip link set dev eth0 up
 
 ip link add link eth0  name vlan1_local  type vlan id 1
 ip link set dev vlan4_arrays up
 
 rc.d start dnsmasq
+
+day=$(date "+%u")
+hour=$(date "+%-H")
+if ((day > 1 && day < 6 && hour < 11)); then # tuesday - friday before 11
+	echo "scheduling scrum reminder"
+	at 10:59 <<- EOF
+		DISPLAY=":0" xmessage -nearmouse "scrum in T minus 1 minute"
+	EOF
+fi