Skip to content
Docs
Start free

Check your pages every day

The Daily check task opens your pages once a day and posts a short note to your chat tool when one doesn't answer. It runs on a schedule, so you hear about a broken page before your visitors tell you.

On this page

What it doesLink to this section

  • Each time it runs, once a day on its schedule, it opens each address you list, up to 8, and waits up to 10 seconds for each.
  • When one fails, it posts one note to the address you pick, such as a chat channel's incoming webhook: Daily check: 1 of 3 addresses failed, with each failed address and what it answered.
  • When all of them answer, it sends nothing.
  • It only reads your pages, so running it twice does no harm.
Note:

Schedules come with Starter, Pro and Agency. On Free, you can add the task and try it by hand, but it won't run on its own. See Limits per plan.

Add the taskLink to this section

In Server tasks (top menu), choose Add a ready-made task, pick Daily check and choose Add task. The setup card lists the two keys below, each with Add key, and its schedule.

Keys to addLink to this section

Both are settings: they are addresses, not secrets.

Pages to check (JOB_URLS)Link to this section

The addresses to check, separated by commas, each starting with https://. Up to 8: the rest are skipped. For example:

Value
https://your-site.example/, https://your-site.example/contact, https://your-site.example/shop

Where alerts go (ALERT_URL)Link to this section

  1. Make an incoming webhook

    In your chat tool's settings, add an incoming webhook for the channel that should get the notes. It gives you an address.

  2. Add it

    Choose Add key next to Where alerts go, paste the address and save.

Anyone with that address can post to the channel, so share it only here.

Its scheduleLink to this section

The task is made to run once a day. Once server tasks are on, the setup card sets it to every day at 9:00 in your time zone when your plan has room, or offers Run every day at 9:00 in your time zone. Each run does the check and counts as one call.

To check at another time, open the task in Server tasks, choose Run on a schedule and pick your own time, days or time zone.

Schedules run your live site's copy of the task, so the checks start after you go live. You can Pause, Resume or remove the schedule in Project settings, Server tasks, Schedules. See Run on a schedule.

Try it in the previewLink to this section

To run it now instead of waiting for its schedule, call /api/daily-job?now=1 with a POST in the preview. The easiest way is to ask your AI:

Ask your AI
Call the server task /api/daily-job?now=1 with POST in the preview and tell me what it answered.
  1. Try a passing run

    With your real pages in JOB_URLS, the answer says how many it checked and failed 0. No note is sent.

  2. Try a failing run

    Add an address that doesn't exist on your site, like your address with /no-such-page, to JOB_URLS and run it again. A note should reach your channel within a minute. Then take that address out.

  3. Check the calls

    In Project settings, Server tasks, Recent calls, pick Preview to see each run, the addresses it reached and anything it wrote.

Go liveLink to this section

Publish your site. From its next run, the schedule runs the live copy. Its last run and next run show in Project settings, Server tasks, Schedules.

Chat tools it works with as writtenLink to this section

The note is a POST with JSON that has one text field. These chat tools' incoming webhooks take that shape:

  • Slack: an incoming webhook for a channel.
  • Google Chat: a webhook added to a space.
  • Mattermost: an incoming webhook.
  • Discord: a channel's webhook address with /slack added at the end, which takes the same shape.

For a tool that wants other fields, change the note's body in api/daily-job.ts to match its guide, or ask your AI to.

Common problemsLink to this section

It answers not_set_upLink to this section

JOB_URLS or ALERT_URL isn't added, or no address in JOB_URLS starts with http:// or https://. Check both in Keys and secrets.

The schedule never runsLink to this section

  • Go live: schedules run the live copy, and a site that isn't published has none.
  • Check server tasks are on and the schedule isn't paused.
  • Your plan may have no room for another schedule, or no schedules at all. The setup card then offers an upgrade instead of setting it.

A page failed but no note cameLink to this section

Recent calls shows what went wrong: the note address answered with an error, or didn't answer. Check ALERT_URL is the full webhook address, and that your chat tool takes a text field.

It reports a page that worksLink to this section

The page took longer than 10 seconds, or it asks for a sign-in or a password and answers with an error to the check. Check only pages anyone can open.

The AI website builder for real code. Made by Zuzo Studio LLC.

Claude, Cursor, Lovable, Bolt, Replit, Webflow, Framer and other product names are trademarks of their owners. Xodia is not affiliated with them.