Patent ID: 8266477

Claim:
A system for modifying execution of scripts for a job scheduler using deontic logic, comprising: a job scheduler configured to execute a schedule that includes at least one task associated with a goal having a first deontic modality associated therewith and create one or more event logs that include information associated with executing the at least one task in the schedule; and a rollback and rerun supervisor communicatively coupled to the job scheduler, wherein the rollback and rerun supervisor is configured to: determine whether the at least one task has succeeded or failed based on whether the information in the one or more event logs indicates that the goal associated with the at least one task has been achieved in a manner consistent with the first deontic modality; determine a second deontic modality associated with recovering from failure of the at least one task if the information in the one or more event logs indicates that the at least one task has failed to achieve the goal in a manner consistent with the first deontic modality; and load a recovery script to the job scheduler based on the second deontic modality associated with recovering from failure of the at least one task, wherein the recovery script loaded to the job scheduler includes a task description designed to achieve the goal associated with the at least one task in a manner consistent with the first deontic modality.