Skip to content

Run code every hour

Run code every hour, without a server to babysit

Tell your assistant what the hourly job should do. ClickRuntime runs it every hour on our servers, keeps a log of every run, and tells you when something fails.

Works with Claude, Cursor, VS Code, Zed and other AI assistants.

ChatGPTClickRuntime connected
Create a ClickRuntime automation: every hour, check the price of this product page and email me if it drops below $80.
I'll check the page hourly, remember the last price, and email you only when it falls under $80.
Price drop watchLive
When
Every hour at :00
Uses
shop.example.com, Email to you
AllowReview
Runsapp.clickruntime.com
Price drop watch14:00Succeeded · 1.6s
Last run14:00 · $94, no change

Details

The hourly job you keep meaning to set up

Most hourly jobs are short: fetch something, compare it, maybe send a message. The hard part is not the code. It's finding a place for it to run, keeping that place alive, storing what happened last time, and noticing when it breaks.

ClickRuntime handles that part. Your assistant sets up the automation. We run it every hour, save the log of each run, and keep any values the script remembers for the next run.

What an hourly script can do

Scripts run on Python 3.11 with a set of common packages already installed, including requests, httpx, BeautifulSoup, feedparser, openpyxl, PyYAML, Jinja2, the Slack and Stripe SDKs, and the Google API client.

  • Call any HTTPS API, using API keys you save as secrets in the ClickRuntime dashboard.
  • Remember a value between runs (the last price, the last item seen) so it only acts on changes.
  • Email you directly with no email service to set up, or post to Slack through a connection.
  • Write structured logs you can read on the run page.

Every hour, or more often

Ask for "every hour", "every hour at :15" or "every 10 minutes". The shortest interval is 5 minutes. Each run counts toward your monthly runs, so the assistant will suggest the slowest schedule that still does the job. Hourly comes to about 720 runs a month.

When something goes wrong

Every run records its status, how long it took, and a log with secret values masked. If a run fails, the automation page shows the error in plain language and the log lines around it. In your assistant, ask "why did the price watch fail?" and the assistant reads the same run, fixes the script and runs it again until it succeeds. Each change still asks for your approval in your assistant.

Try asking

Prompts to start with

Paste one of these into a chat with ClickRuntime connected.
  • Create a ClickRuntime automation: every hour, check our public API's /health endpoint and Slack #alerts if it returns anything but 200.

  • Create a ClickRuntime automation: every 15 minutes during the day, check this RSS feed and email me new posts that mention 'pricing'.

  • Create a ClickRuntime automation: every hour, compare the number of open GitHub issues on our repo with the last run and email me if it jumped by more than 10.

Apps

Works with the apps you use

Connect an app once and every automation in your workspace can use it. If it has an API, a webhook or a web page, it works.
  • Slack
  • Google Calendar
  • Shopify
  • Notion
  • Telegram
  • Asana
  • Dropbox
  • Calendly
  • WordPress
  • QuickBooks
  • Bitbucket
  • Evernote
  • Square
  • Wix
  • Mailgun
  • Sentry
  • MySQL
  • Firebase
  • Cloudflare
  • Instagram
  • Spotify
  • Miro
  • Substack
  • Product Hunt
  • Pinterest
  • Etsy
  • Wise
  • Gusto
  • RSS feeds
  • Google Sheets
  • Stripe
  • Typeform
  • Airtable
  • Jira
  • Mailchimp
  • Discord
  • Zendesk
  • WhatsApp
  • Google Docs
  • Figma
  • Box
  • WooCommerce
  • Squarespace
  • Brevo
  • Datadog
  • MongoDB
  • Vercel
  • X
  • YouTube
  • Google Analytics
  • Confluence
  • Ghost
  • Mastodon
  • TikTok
  • eBay
  • Coinbase
  • Okta
  • Gmail
  • GitHub
  • HubSpot
  • Google Drive
  • Trello
  • Zoom
  • Linear
  • Intercom
  • Xero
  • GitLab
  • Todoist
  • PayPal
  • BigCommerce
  • Webflow
  • PagerDuty
  • PostgreSQL
  • Supabase
  • Netlify
  • Facebook
  • Reddit
  • Google Ads
  • Bitly
  • Medium
  • Bluesky
  • Twitch
  • Revolut
  • Zoho
  • Auth0
View all apps

FAQ

Questions about run code every hour

Can I see the code?
Yes. The script is on the automation page under Advanced, with every previous version. It's read-only there; ask your assistant to change it.
How long can one run take?
Runs have a time limit of a few minutes (3 minutes by default). Hourly checks normally finish in a second or two.
Can it remember things between runs?
Yes. Scripts can store small values and counters that survive across runs, such as the last price seen. You can clear them from the automation page. See /use-cases/stateful-automations for what this makes possible.
What if I need a package that isn't installed?
Scripts can only import the packages listed in the script reference, plus the Python standard library. If you need something else, email support.
Do failed runs count?
Yes, runs that start count whether they succeed or fail. Runs that never start because the monthly runs are used up do not run the script.

Set up your first automation in ChatGPT or Claude

Free plan. No credit card.