start_course_sniper
Automatically grab a course by waiting for its open time or watching for vacancies, with retries and self-healing on errors.
Instructions
Start an automated course-grab job (restrained; hard frequency floors).
mode="open_time": wait until open_time_iso (ISO 8601), then submit, retrying
every retry_interval_seconds (>=3s) for up to total_duration_seconds
(<=30 min). Page timeouts are shortened during the window so a crashed
portal costs ~12s per probe. With then_watch=true, an unsuccessful open
window falls through to vacancy watching instead of giving up.
mode="watch_vacancy": poll every watch_interval_seconds (>=30s) until a
vacancy is grabbed. Sub-floor intervals are rejected.
Jobs self-heal: an expired session re-authenticates automatically and a crashed browser is relaunched. A job only ends early on rejected credentials, 5 consecutive page-structure errors (portal redesign), or the portal staying unreachable for 30+ minutes straight. Terminal events raise a macOS notification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | ||
| mode | No | watch_vacancy | |
| open_time_iso | No | ||
| retry_interval_seconds | No | ||
| total_duration_seconds | No | ||
| watch_interval_seconds | No | ||
| then_watch | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||