You can set jobs to automatically retire by enabling auto_retire in the XML file containing the job definition.
-
Open the XML file containing the job definition and set the following:
Parameter Description auto_retire Specify true. False is the default value and means the job does not retire automatically.retire_value Specify an integer to represent the number of days or weeks until the job is retired. The integer can be no longer than three digits.retire_units Specify days or weeks.