0

I need an system that could check if many python scripts have run comletely.

The scripts would scrape data and output it to a corresponding xml file.

If the script fails there might be no xml file or error messages in the logs files. PHP files run the python scripts.

Is there a simple solution using an AWS service that would trigger alarms when a python script is not functioning fully?

neo
  • 121
  • 2
  • 3
  • 13

2 Answers2

1

You can schedule cron job to attain that.

neau
  • 317
  • 1
  • 12
0

If you modify (or wrap) your scripts to send a metric to CloudWatch on success, you can then configure an alert for insufficient data.

tedder42
  • 23,519
  • 13
  • 86
  • 102