How to reset a job status to inactive?

Phate picture Phate · Jul 14, 2015 · Viewed 16.9k times · Source

I have a job J1 which is dependent from the success of a job J0. First time J0 failed so J1 is currently under status "failure". This is fine.

Anyway I'd like now to reset its status so I can perform another test. How to set J1's status from "FAILURE" to "INACTIVE", in other words its initial status?

Answer

Oleksandr Kucher picture Oleksandr Kucher · Jul 15, 2015
SENDEVENT -J J1 -E CHANGE_STATUS -s INACTIVE