DEV Community

khasimoracle
khasimoracle

Posted on

Using an “if” statement with curl

Using an "if" statement with curl

0

I am using below curl command to restart the Connectors/tasks. I have scheduled this curl command in Crontab. The purpose of this curl command is to restart the Connectors/Tasks, if their status is "Failure". I would like to incorporate "if" statement in this curl command, so that it attempts only…

Top comments (0)