Free tools Windows power users keep installed
One-click scans. No signup required.
Use Selenium to open the page and save its screenshot, then use cron to run that script at the times you choose. The reliable setup is to install the browser and Selenium components separately, run Chrome headlessly when there is no desktop, use absolute paths and a writable output directory, and capture the job’s output so failures are diagnosable.
How the scheduled screenshot works
Selenium performs the browser work: it navigates to a URL, waits for the page state you need, and writes an image file. Cron is only the scheduler; it does not install or manage the browser. This guide uses Python and Chrome on a Unix-like host. Cron syntax and logging details vary by operating system and cron implementation.
You need a Python Selenium binding, a supported browser, and the browser driver needed for your setup. Selenium’s getting-started documentation explains the components, and Selenium Manager can assist with browser-driver management. Check the instructions for your selected Selenium and browser versions before installing.
Write and test the Selenium screenshot script
Save the following as /home/alex/bin/site_screenshot.py, replacing the example URL and paths. The example uses an explicit wait for the document to reach its complete state; if the page’s meaningful content loads later, wait for a page-specific element instead.
#1 Best Overall
- 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.
from pathlib import Path
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from selenium.webdriver.support.ui import WebDriverWait
URL = "https://example.com"
OUTPUT = Path("/home/alex/screenshots/example.png")
options = Options()
options.add_argument("--headless=new")
OUTPUT.parent.mkdir(parents=True, exist_ok=True)
driver = webdriver.Chrome(options=options)
try:
driver.get(URL)
WebDriverWait(driver, 30).until(
lambda browser: browser.execute_script(
"return document.readyState"
) == "complete"
)
if not driver.save_screenshot(str(OUTPUT)):
raise RuntimeError(f"Screenshot was not saved to {OUTPUT}")
finally:
driver.quit()
Selenium’s Chrome guide lists --headless=new among commonly used Chrome arguments. Confirm the applicable options for your installed browser version in the Chrome documentation. The Python API documents saving the current window as a PNG with save_screenshot and recommends using a full path; the official example uses driver.save_screenshot('./image.png') (Python WebDriver API).
- Install the Selenium Python binding, Chrome, and the driver or driver-management support required by your setup. Cron will not provide these for you.
- Run the script manually as the same account that will own the crontab:
/absolute/path/to/python /home/alex/bin/site_screenshot.py. Use the interpreter from the environment where Selenium is installed. - Confirm that the image exists at
/home/alex/screenshots/example.pngand that it contains the expected page. Confirm that the crontab owner can write to the destination directory. - Adjust the wait condition for the page. A completed document load does not guarantee that content rendered later by JavaScript, lazy loading, or a consent flow is ready for capture; use a relevant selector or a suitable explicit delay when needed.
Schedule the script with cron
A user crontab entry has five schedule fields—minute, hour, day of month, month, and day of week—followed by the command. For example, to capture every day at 06:30, add this line to the crontab of the account that should run the job:
Rank #2
- 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.
30 6 * * * /absolute/path/to/python /home/alex/bin/site_screenshot.py >> /home/alex/logs/site-screenshot.log 2>&1
Create the log directory first and ensure the job user can write to both the log and screenshot directories. Replace /absolute/path/to/python with the interpreter’s full path, such as the one reported by which python in the intended environment. Edit the user’s crontab with crontab -e; do not put a user-crontab line unchanged into a system-wide crontab.
In the Debian systemd-cron implementation, entries in /etc/crontab and /etc/cron.d include a username between the schedule and command, unlike a per-user crontab line. The same manual documents the five fields and environment settings such as SHELL and PATH; settings apply to subsequent commands in that file. See the Debian systemd-cron manual and verify syntax for the cron implementation on your host.
Rank #3
- 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.
Make cron’s environment deliberate
A cron job may not inherit the environment of your interactive login shell. Use absolute paths for the interpreter, script, output, and log; explicitly define any environment variables the script requires. If you use a virtual environment, point cron directly to its Python executable. In the cited Debian systemd-cron implementation, a job runs as the owner of that user’s crontab; check your host’s documentation if using another implementation.
Check the first scheduled run
After the next scheduled time, inspect the image and the redirected log. Cron implementations differ in how job output is handled: it may be mailed, sent to a journal, or treated according to host configuration. The Debian manual documents output behavior for that implementation, but the exact log or mail destination is host-dependent.
Rank #4
- 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
Why Selenium fails when it runs from cron
If a script succeeds in a terminal but not on schedule, check these causes in order:
- Wrong crontab or user: confirm you edited the intended account’s crontab and that the account can access the script, browser, and output locations.
- Schedule or timezone: verify the five fields and the host’s timezone. Cron’s schedule is interpreted by the host’s configuration, not by the time you happen to expect.
- Relative or incorrect paths: cron may start in a different working directory. Use absolute paths to Python, the script, screenshot, and log.
- Missing environment values: define required variables explicitly rather than assuming a shell profile was loaded. Check
PATHand any variables your browser or script depends on. - Browser or driver unavailable: verify that Chrome and the driver-management setup work for the job user. Cron does not install either component.
- No graphical session: on a host without a desktop session, configure Chrome for headless execution and confirm the argument against the installed browser version.
- Output permission denied: create the destination directory and grant the job user write access; use a full screenshot path.
- Page not ready or navigation failed: inspect captured standard output and error, then adjust the wait for the content the screenshot requires. A timeout or failed load should be handled explicitly if the job must report a clear failure.
When one machine is enough—and when to scale
A local WebDriver script is the simplest arrangement for a modest number of recurring captures on one host. If you need execution distributed across machines or multiple browser environments, Selenium Grid is an option; Selenium’s downloads page states, “The Selenium Server is needed in order to run Remote Selenium WebDriver (Grid)” (Selenium Downloads). Grid adds setup and operational complexity, so use it when local execution does not meet the coverage or workload requirements. The cited sources do not establish comparative performance or cost figures.
Best Value
- 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.
Or skip the browser setup:
ScreenshotNeo can return an image from one GET request, so a cron job can call the API instead of managing a local browser and driver. For example, install curl and run this command from cron, replacing the URL and API key:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o /home/alex/screenshots/example.webp
See the ScreenshotNeo API documentation for options and response details. Cookie banners are accepted before capture and 60+ known consent platforms, newsletter popups, and chat widgets can be removed; each step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits cost nothing, and response headers identify the page verdict and billing status. Its MCP server offers take_screenshot, get_page_info, and capture_pdf for AI agents. The Free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. These features are available on every plan.
Sign up for ScreenshotNeo free: 1,000 screenshots a month, no card required.
Frequently Asked Questions
Does cron take the screenshot itself?
No. Selenium opens the page and saves the image; cron starts the script according to its schedule.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Can I use a different Selenium language binding?
Yes. The example uses Python, but Selenium has multiple language bindings. The scheduling approach is the same: cron runs your script with the correct interpreter or runtime.
Quick Recap
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.

