Skip to content

Hosting and deploys

A scheduled job doesn’t run on the live site

The daily task works when you trigger it by hand and never fires in production.

What you get
The schedule set up the way your host expects, closed to strangers, with a log line for each run.
Paste it into
Your AI tool, in your project
The prompt
I have a task that should run on a schedule, and it isn't running in production.

Find the job and how it's meant to be triggered. Check how scheduled tasks work on my host and whether this project is set up that way: the config file, plan limits, time zone, and the URL it calls. Tell me what's missing.

Then fix it so that the schedule is defined in the place the host reads, the endpoint rejects callers without the secret, a run that overlaps or repeats doesn't do the work twice, and every run logs when it started, what it did and whether it failed.

Tell me how to trigger one run by hand and where to see the log.

Use it

Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.

More in Hosting and deploys