1,885
edits
Changes
Redirected page to SICT AR Meeting Area CLI Script
#REDIRECT [[SICT AR Meeting Area CLI Script]]
== Script ==
This is a bash script to display the t1042 bookings for a given day:
#!/bin/bash
#
# Script to display bookings in T1042./DB1042
# Give a datespec on the command line, or no args for today.
#
function show_day() {
}
if grep -qi t1042 <<<$0
then
ROOMNAME="T1042" # traditional name
else
ROOMNAME="DB1042" # new name
fi
trap "rm \$TEMPFILE" SIGHUP SIGINT EXIT
TEMPFILE=$(mktemp)
if [ "$1" == "-w" ]
then
else
fi
echo
== Usage Examples ==
To use this script, run it with no arguments for the current day, or specify a day:
The data displayed is taken from the [[Meeting Room T1042]] page on this wiki, and the date and times must be formatted correctly (YYYY-MM-DD HH:MM-HH:MM) to display.
== Contribute ==
To contribute to development of this script, see the GitHub repository at https://github.com/Seneca-CDOT/t1042
<!-- THE CODE BELOW MAY PREVENT LINES FROM APPEARING IF THEY HAVE UNLINKED OR MISSING CONTACT DATA -- *FIXME*