Skip to content

Instantly share code, notes, and snippets.

@t3mp-0xCC
Created June 24, 2021 12:55
Show Gist options
  • Save t3mp-0xCC/df816b9b4865ac1669934d75335a3d33 to your computer and use it in GitHub Desktop.
Save t3mp-0xCC/df816b9b4865ac1669934d75335a3d33 to your computer and use it in GitHub Desktop.
zoom_auto.sh
#!/bin/sh
# useful example
# $ at 8:50 -f ./zoom_auto.sh "https://applications.zoom.us/lti/..." 90
set -e
if [ $# -ne 2 ]; then
echo "Usage : ./zoom_auto.sh <zoom link> <class time(min)>"
echo "Example : ./zoom_start.sh "https://applications.zoom.us/lti/..." 90"
exit
fi
firefox --display=:0 $1
class_sec=$(($2 * 60))
sleep $class_sec
pkill zoom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment