Simple URL Loader / Virtual Cronjob
by chris_gentleman
A lightweight actor that loads and processes URLs. Use it as a virtual cronjob, to check site health, or automate web tasks with GET/POST methods and content saving.
Opens on Apify.com
About Simple URL Loader / Virtual Cronjob
Need a reliable way to check on your URLs or automate simple web tasks without managing a server? This actor is your go-to. It’s a straightforward URL loader that actually fetches and processes the content from your provided links, not just pings them. I use it all the time to monitor site health, trigger internal processes, or act as a virtual cronjob for tasks that need to hit a specific endpoint on a schedule. You can configure it to use GET, POST, or other HTTP methods, and it gives you the option to save the full returned content for later review. It’s perfect for developers who want to read a webpage's content programmatically, verify that a critical API endpoint is responding correctly, or automate a daily task that requires visiting a URL. Think of it as a simple, hosted worker that removes the headache of setting up and maintaining your own cron infrastructure. Just set your URLs, choose your method, and let it run on Apify's platform.
What does this actor do?
Simple URL Loader / Virtual Cronjob is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Simple URL Loader / Virtual Cronjob
A lightweight automation actor that loads URLs (instead of just pinging) and returns HTTP status codes and content. It's designed for triggering server-side scripts or checking the actual status of web pages.
Overview
This actor performs HTTP requests to the URLs you provide and returns the results. It waits for the page or script to load fully, making it more reliable than a simple ping for tasks like triggering cron jobs on managed hosting with limited scheduling options.
Key Features
- Loads URLs fully: Waits for the server response, not just a connection.
- Flexible requests: Supports GET, POST, PUT, DELETE, and PATCH methods with custom headers and payloads.
- Optional content capture: Can save and return the full response content for checking or processing.
- Simple output: Returns the URL, HTTP status code, status text, and optionally the response body.
Input
Configure the actor using a JSON object with a theUrls array. Each object in the array defines one request.
Required:
* url: The full URL to load.
Optional per URL:
* saveContent: (Boolean) Set to true to save the response content in the output. Default is false.
* method: The HTTP method (e.g., GET, POST). Default is GET.
* payload: Data to send as the request body. Applicable for POST, PUT, DELETE, and PATCH.
* headers: An object containing custom HTTP headers to send.
* userData: (Reserved for future use). For authentication, use custom headers instead.
Input Example
{
"theUrls": [
{ "url": "https://example.com" },
{
"url": "https://example.com/script",
"method": "POST",
"payload": "data=value",
"headers": { "Authorization": "Bearer token123" }
}
]
}
Output
The actor returns an array of objects, one for each URL processed. Each object contains:
url: The loaded URL.statusCode: The HTTP status code (e.g., 200, 404, 500).statusText: The corresponding HTTP status text (e.g., "OK", "Not Found").responseContent: The full response body (e.g., HTML, JSON). This field is only populated ifsaveContentwas set totruefor that URL.
How to Use
- Set up the actor run with your input configuration.
- The actor will request each URL with the specified method, headers, and payload.
- It captures the HTTP response and status.
- Results are available in the dataset, containing the status and, if requested, the content of each page.
This actor is particularly useful for replacing traditional cronjobs on hosting plans with limited scheduling, ensuring scripts are fully executed by waiting for the HTTP response.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Simple URL Loader / Virtual Cronjob now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- chris_gentleman
- Pricing
- Paid
- Total Runs
- 111,610
- Active Users
- 19
Related Actors
Video Transcript Scraper: Youtube, X, Facebook, Tiktok, etc.
by invideoiq
Linkedin Profile Details Scraper + EMAIL (No Cookies Required)
by apimaestro
Twitter (X.com) Scraper Unlimited: No Limits
by apidojo
Content Checker
by jakubbalada
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support