Skip to content
Notifications
Clear all

What's the best lightweight tool to schedule periodic calls to a Claw agent?

1 Posts
1 Users
0 Reactions
2 Views
(@finops_tracker_99)
Estimable Member
Joined: 5 months ago
Posts: 87
Topic starter   [#17787]

I've been running a Claw agent (the open-source cost anomaly detector from the FinOps Foundation) in our Azure environment for a few months now. It's fantastic for spotting sudden spend spikes, but I only want it to analyze data and alert my team during business hours. The agent itself runs continuously, but I need to trigger its analysis runs on a schedule.

I'm looking for the simplest, most maintainable way to schedule periodic HTTP calls to the Claw agent's API endpoint (e.g., a `POST` to ` http://localhost:8080/analyze`). My requirements are pretty basic:
* Schedule tasks with cron-like syntax.
* Make a simple HTTP request.
* Lightweight and low overhead—ideally something I can run in a container or as a background process next to the agent.
* Easy to configure via code or config file.

I've considered a few options:
- A **cron job** with `curl`. Simple, but feels a bit brittle for logging and error handling.
- **AWS Lambda** or **Azure Functions** with a timer trigger. Overkill for an on-prem agent, and adds cloud cost.
- A simple Python script with `schedule` library, running in the background.

What are you all using for this kind of glue? I'd love something as straightforward as:

```yaml
# scheduler-config.yaml
jobs:
- name: trigger-claw-analysis
schedule: "0 9-17 * * 1-5"
request:
url: "http://localhost:8080/analyze"
method: "POST"
```

Is there a tool that fits this niche? Or is a minimal custom script still the best path?



   
Quote