Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Google Cloud Scheduler can run website screenshots on a cron schedule, but it does not capture pages itself. Configure it to make an authenticated HTTP request to a Cloud Run service that runs Chromium with Playwright or Puppeteer, captures the page, and saves or returns the image. For finite batch work, a Cloud Run job may fit better than a request-response service.

How the scheduled screenshot pipeline works

There are two jobs in this setup: Cloud Scheduler triggers work at the chosen time, and your browser automation code performs the capture. A typical flow is:

  1. Cloud Scheduler sends a scheduled HTTP request.
  2. An authenticated Cloud Run service receives it and launches Chromium.
  3. Playwright or Puppeteer opens the target page and captures an image.
  4. Your service writes the image to a file, returns image bytes, or stores it in Cloud Storage.

Google documents headless Chromium and screenshot generation as a Cloud Run browser-automation use case. See Browser and OS automation in Cloud Run.

Choose a Cloud Run service or job

For a recurring capture of one site, an authenticated HTTP Cloud Run service is the shortest path: Scheduler calls it, and it responds when the request is handled. For finite batch work, consider a Cloud Run job: its container performs work and exits, and the Google codelab demonstrates uploading Puppeteer screenshots to Cloud Storage.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

Choose based on whether the work is request-response or batch-oriented, whether URLs should be processed as separate tasks, where results will be stored, and how you want failures retried. Google’s documentation does not establish a universal workload size or runtime threshold for switching from a service to a job.

Build the capture endpoint

Deploy an HTTP Cloud Run service or function that accepts a capture request. Include Chromium in the container and use Playwright or Puppeteer to navigate to the requested page and take the screenshot. Google’s Cloud Run browser-automation guidance covers the browser setup considerations: Cloud Run browser automation.

Playwright’s Page API supports viewport or full-page screenshots, output to a file or image buffer, and PNG, JPEG, or WebP formats. Decide what the endpoint returns: a file response can work for a caller that immediately consumes the image, while an image saved to Cloud Storage is more useful when captures need to persist independently of the request.

Rank #2
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

For Cloud Storage output, grant the service identity only the access it needs to write to the destination bucket. Keep target URLs and any credentials out of public request parameters; validate which URLs the endpoint is allowed to capture, particularly if callers can submit arbitrary URLs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Create the Cloud Scheduler HTTP job

  1. Deploy the capture endpoint to Cloud Run and note its URL.
  2. Create a service account for Scheduler invocations and grant it the permission needed to invoke the Cloud Run target.
  3. Create a Cloud Scheduler job with an HTTP target set to the endpoint URL. Choose a cron-compatible schedule and the time zone in which that schedule should be interpreted.
  4. Configure the target authentication as OIDC and select the service account. Google recommends OIDC for HTTP targets such as Cloud Run; OAuth is generally used when the target is a Google API.
  5. Set the request method and any body or headers your endpoint expects. Test a manual invocation and confirm that it produces the expected image before relying on the schedule.

Google’s walkthrough for an authenticated scheduled HTTP invocation is Schedule an HTTP Cloud Run function. For identity configuration, see Use authentication with HTTP targets. Cron syntax and job creation are covered in Manage cron jobs.

Make repeated runs safe

Cloud Scheduler provides at-least-once delivery, so a scheduled execution can rarely be delivered more than once. A handler that blindly creates a new object on every invocation can therefore leave duplicate captures.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Use the job name and the X-CloudScheduler-ScheduleTime header to identify the scheduled execution, and make storage writes idempotent where practical. For example, derive an object key from the job and scheduled time so a retry for the same scheduled run overwrites or reuses the same result rather than creating another file. Google explains delivery behavior in Manage cron jobs.

Set timeouts and retry behavior deliberately

Cloud Scheduler’s HTTP target attempt deadline defaults to three minutes and can be configured from 15 seconds to 30 minutes. Set the endpoint’s own request timeout and Scheduler’s attempt deadline to accommodate navigation, rendering, screenshot generation, and storage upload. A mismatch can make Scheduler report failure even when the target completed successfully. The deadline range is documented in the Cloud Scheduler RPC reference; see also Running services on a schedule.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do not let a request wait indefinitely for a slow page. Set a navigation timeout in the browser code, handle navigation or capture errors, and return an appropriate HTTP status so Scheduler can apply the retry behavior you configured. If the task regularly exceeds the HTTP attempt window, reconsider whether it should run as batch work in a Cloud Run job.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Where screenshots are saved

The destination is determined by your capture worker, not by Scheduler. Playwright can save to a path or provide screenshot bytes; your service can return those bytes in the HTTP response or upload them to Cloud Storage. For scheduled captures that need to remain available after the invocation ends, Cloud Storage is a practical destination. Google’s Cloud Run jobs codelab demonstrates Puppeteer screenshots uploaded there.

Common problems and fixes

  • Scheduler runs, but the endpoint returns 401 or 403: confirm the job uses OIDC, the selected service account has invocation permission for the Cloud Run target, and the token audience matches the endpoint configuration.
  • The request times out: compare browser navigation and service execution time with the Scheduler attempt deadline. Increase the deadline within its documented limits, or shorten the capture work; use a job for suitable finite batch processing.
  • Images appear more than once: account for at-least-once delivery. Use the scheduled time and job identity to make writes idempotent.
  • The screenshot is blank or incomplete: verify Chromium launches in the deployed container, the page is reachable from the service, and the handler waits for the page state or element needed before capturing.
  • The schedule runs at an unexpected local time: check the time zone configured on the Scheduler job as well as the cron expression.
  • The endpoint reports an error after the image was saved: review the interaction between the service response and Scheduler deadline. A completed side effect does not guarantee Scheduler received a successful response, so idempotent writes are important.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If you do not want to maintain Chromium and a capture endpoint, ScreenshotNeo is a website screenshot API and MCP server. A single GET request captures a URL as PNG, JPEG, WebP, or PDF. For an API call, use this cURL example; the full parameter reference is in the ScreenshotNeo documentation.

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

ScreenshotNeo accepts cookie or consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; those steps can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and responses identify the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents and MCP clients. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000 shots.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Sign up for ScreenshotNeo’s free plan to try 1,000 screenshots a month with no card.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Frequently Asked Questions

Can Cloud Scheduler take a screenshot by itself?

No. It triggers an HTTP target; your Cloud Run worker must run the browser and capture the page.

Can I schedule screenshots of several URLs?

Yes. Have the endpoint process a defined URL list or invoke separate tasks. For finite batch work, compare a Cloud Run job with an HTTP service based on task organization, output storage, and retry needs.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.