job-monitor

Monitor asynchronous job status with timeouts and progress updates.

30|6|Updated Mar 5, 2019
One-click install
npx skills add https://github.com/crim-ca/weaver --skill job-monitor
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: job-monitor
Source: https://github.com/crim-ca/weaver/tree/main/.agents/skills/job-monitor
Command: npx skills add https://github.com/crim-ca/weaver --skill job-monitor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manually checking the status of a job after submission can be time-consuming and inefficient. This Skill automates the process, providing real-time updates and results upon job completion.

Core Features & Use Cases

  • Real-time Monitoring: Continuously monitor job status and receive updates.
  • Timeout Handling: Avoid unnecessary waiting by setting a maximum time limit.
  • Progress Tracking: Visualize the progress of a job through percentage updates.
  • Use Case: Suppose you have a long-running analysis that you need to track its progress. With this Skill, you can set a timeout and receive updates, ensuring you're always aware of the job's status.

Quick Start

Monitor the job with ID 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' for a maximum of 300 seconds, polling every 10 seconds.

Frequently Asked Questions about job-monitor

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

FAQPage Schema
How do I track asynchronous job progress with real-time updates?▼

You can track asynchronous job progress by using a monitoring script that polls the Weaver API at regular intervals. This provides real-time status updates and percentage progress until the job reaches completion.

What is the best way to stop monitoring a long-running job if it takes too much time?▼

To stop monitoring a long-running job, you can set a maximum timeout limit. The monitoring process will automatically terminate when this timeout is reached, avoiding unnecessary waiting.

Do I need API access to Weaver to monitor job status automatically?▼

Yes, you need API access to Weaver to monitor job status automatically. The monitoring script interacts with the Weaver API to query job status and retrieve completion results.

How do I configure polling intervals for real-time job monitoring?▼

You configure polling intervals by setting a specific time duration between each API request, such as polling every 10 seconds. This interval determines the frequency of your real-time progress updates.

Can I visualize the progress of an asynchronous job using automated polling?▼

Yes, you can visualize job progress through percentage updates returned during polling. The monitoring script continuously fetches status data, allowing you to track the job's completion percentage over time.