u/Electrical-Mouse-801

▲ 9 r/uvic

How to Be Notified of Openings for Classes with No Waitlist (for linux)

*Access to someone can write computer scripts is required

This script will check available seats on linked courses (by CRN), and if there are any spots left, outputs the CRN for the courses with available spots.

To use (instructions for Linux):
find the CRN you are interested in, and modify the CRN value in the script below (this example is for CSC 110 labs for this September). I haven't tested it for other terms, but it should work. My guess is put the YYYYMM of the beginning of the term in TERM in the script:

#!/bin/bash

TERM="202609"
CRN="10712"

URL="https://banner.uvic.ca/StudentRegistrationSsb/ssb/searchResults/fetchLinkedSections?term=${TERM}&courseReferenceNumber=${CRN}"

curl -qsSL "$URL"  > /tmp/uvic.json  2>/dev/null
</tmp/uvic.json jq '.linkedData[][] | select(.seatsAvailable> 0) | .courseReferenceNumber'
rm /tmp/uvic.json

Save this as $HOME/bin/check-uvic, and make sure it can be executed:

chmod +x $HOME/bin/check-uvic

You will need curl and jq installed, they are easily available on all Linux distributions.

Add a crontab job: run and add the following line at the bottom, to run once an hour

0 * * * * $HOME/bin/check-uvic

If your system is set up properly for email, you will receive an email once there are available spots in this course.

reddit.com
u/Electrical-Mouse-801 — 3 days ago
▲ 3 r/uvic

Got into CSC 110 lab but waitlisted on lecture

I'm 7th on the waitlist for CSC 110 lecture but I just found a spot in one of the labs. I saw in a comment on another post here of someone in the opposite situation saying that people who are in the labs but not in the lecture will be kicked out of the labs to ensure everyone in the lecture gets a spot. I just wanted to ask if that's true and if it happens sooner than when classes actually start, since I'm pretty close on the waitlist to getting in (right..?)

reddit.com
u/Electrical-Mouse-801 — 5 days ago