webdev-periodic-updates

Implements scheduled cron jobs for Manus webdev and Expo projects via Heartbeat and AGENT cron.

1|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/waiyanphyo999/telegram-bot-deploy --skill webdev-periodic-updates-waiyanphyo999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webdev-periodic-updates
Source: https://github.com/waiyanphyo999/telegram-bot-deploy/tree/main/skills/webdev-periodic-updates
Command: npx skills add https://github.com/waiyanphyo999/telegram-bot-deploy --skill webdev-periodic-updates-waiyanphyo999

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Recurring and scheduled work (digests, cleanups, periodic notifications, end-user-defined schedules) cannot rely on in-process timers like setInterval or node-cron because Cloud Run terminates idle instances. This Skill provides the correct patterns for implementing durable, platform-managed cron jobs on Manus webdev fullstack and mobile-app projects. ## Core Features & Use Cases - Heartbeat (HTTP cron): Platform POSTs directly to /api/scheduled/* handlers on your deployed site, with tRPC mutations for end-user-driven schedule creation and SDK functions (createHeartbeatJob, updateHeartbeatJob, deleteHeartbeatJob) for lifecycle management. - AGENT cron: Spawns a fresh isolated Manus agent per trigger for work needing agentic capabilities like web browsing, deep research, or image generation, with curl-based write-back to the site's scheduled endpoints. - Sandbox CLI management: Use manus-heartbeat commands to create, update, pause, resume, delete, list, and inspect logs of project-level crons owned by the project owner. - Use Case: A marketing site needs a daily 9am campaign email send. You add a schedule_cron_task_uid column, create a tRPC mutation calling createHeartbeatJob, mount an Express handler at /api/scheduled/sendMarketing that authenticates via sdk.authenticateRequest and looks up the campaign by taskUid, then deploy so end-users can schedule their own sends. ## Quick Start Read this Skill first, then ask the agent to set up a daily scheduled job on the Manus site by creating a tRPC mutation, an /api/scheduled/ handler, and deploying before scheduling.

Frequently Asked Questions about webdev-periodic-updates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a scheduled cron job in a Manus webdev project?

Create a tRPC mutation that calls createHeartbeatJob with a 6-field cron expression and a path starting with /api/scheduled/, then persist the returned taskUid on the business row. Mount an Express handler at that path and deploy the site before scheduling.

Heartbeat cron vs AGENT cron: which should I use?

Use Heartbeat when the trigger only needs a single LLM call or deterministic handler logic running inline on your site. Use AGENT cron only when the work genuinely needs agentic capabilities like web browsing, file manipulation, shell access, or deep research.

Why can't I use setInterval or node-cron for scheduled tasks?

Cloud Run terminates idle instances, so in-process timers do not survive and will silently stop firing. All recurring work must use platform-managed cron via Heartbeat or AGENT cron, which persists independently of any running instance.

How do I authenticate requests in /api/scheduled/ handlers?

Call sdk.authenticateRequest(req), which returns user.isCron === true with user.taskUid set for cron callers. Always look up the business row by taskUid, never by req.body fields, since the request body is attacker-controllable.

Why does my scheduled task fail or retry unexpectedly?

The platform retries 5xx and 429 responses up to 3 times, so handlers must be idempotent. Other 4xx responses are treated as business failures and not retried; return 2xx for skippable cases like orphaned rows.

Can I manage cron jobs from the sandbox terminal?

Yes, the manus-heartbeat CLI supports create, update, delete, list, and logs commands under the project owner identity. Use --user-id to inspect an end-user's crons and --enable=false to pause a task.