I created a scheduled task and my cypress script is being run once an hour. But after that I want to execute a python script and pass the result data there.
Run the script and get the "results" as failed or success.
$ cypress run --spec "cypress/integration/myproject/myscript.js"
And pass the "results" data to a python script.
$ python test.py results
How can I do this?