Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 577 Bytes

readme.md

File metadata and controls

32 lines (22 loc) · 577 Bytes

Run the webdriverio script

npm i
npm start -- <classStartTime> <phoneNumber> <password>

launchd commands

# let plist run for current user
cp ./book-tennis-class.plist ~/Library/LaunchAgents

# load job
launchctl load ~/Library/LaunchAgents/book-tennis-class.plist

# remove job
launchctl remove local.book-tennis-class

# start job
launchctl start local.book-tennis-class

# list jobs
launchctl list | grep local

launchd tutorial

https://betterprogramming.pub/schedule-node-js-scripts-on-your-mac-with-launchd-a7fca82fbf02