Failed Runs Monitor avatar
Failed Runs Monitor
Try for free

No credit card required

View all Actors
Failed Runs Monitor

Failed Runs Monitor

jannovotny/failed-runs-monitor
Try for free

No credit card required

This actor will let you know about failed or time outed runs of your actors and tasks via Slack or email. It can also notice you about successful runs with empty dataset, check JSON schema of dataset items, or about runs that are running for too long.

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "config": [
8    {
9      "actorId": "apify/web-scraper",
10      "minDatasetItems": 0,
11      "maxRunTimeSecs": 3600
12    }
13  ]
14}
15EOF
16
17# Run the Actor using an HTTP API
18# See the full API reference at https://docs.apify.com/api/v2
19curl "https://api.apify.com/v2/acts/jannovotny~failed-runs-monitor/runs?token=$API_TOKEN" \
20  -X POST \
21  -d @input.json \
22  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 3 monthly users
  • 3 stars
  • 100.0% runs succeeded
  • Created in Mar 2019
  • Modified almost 2 years ago
Categories