Profile PictureMark Rijckenberg
€10

NVIDIA driver version check for UNIX - automatically inform Gmail user about newest driver version

Add to cart

NVIDIA driver version check for UNIX - automatically inform Gmail user about newest driver version

€10

Overview

  • Prerequisite: You must be a Gmail user or else the script is useless.
  • Purpose: The included Google Apps Script fetches the HTML content from the Nvidia UNIX driver page (https://www.nvidia.com/en-us/drivers/unix/), extracts driver versions associated with three specific labels ("Latest Production Branch Version:", "Latest New Feature Branch Version:", and "Latest Beta Version:"), determines the highest version among them, compares it to a previously stored version, and automatically sends an email to the user's Gmail account if a newer version is detected.
  • Environment: This is a Google Apps Script, running in Google’s cloud environment, typically triggered manually or via a time-driven trigger. It uses services like UrlFetchApp, MailApp, and PropertiesService.
  • Scope: The @OnlyCurrentDoc annotation limits the script’s access to the current spreadsheet, though it doesn’t interact with spreadsheet data in this case—it’s likely a leftover from a template.

Structure

The script is organized into:

  1. Configuration Section: Defines constants like the URL and regex patterns.
  2. Utility Function (compareVersions): Compares two version strings numerically.
  3. Main Function (checkNvidiaDriverUpdate): Performs the core logic of fetching, parsing, comparing, and notifying.
  4. Helper Functions: manualCheck, viewStoredVersion, and clearStoredVersion for testing and debugging.
Add to cart
Copy product URL