{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":9276,"path":"employee-service-management/applicant-center/run-schedule-job.md","title":"Set up a scheduled job for applicant deactivation","bundle":null,"doc_type":null,"release":"australia","body":"\n# Set up a scheduled job for applicant deactivation\n\nSet up a scheduled job, at regular intervals, to deactivate applicants no longer viable to the system.\n\n## Before you begin\n\nRole required: admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Definition** &gt; **Scheduled Jobs**.\n\n2.  Select **MarkApplicantInactive**.\n\n3.  View and download the `HiringDeleteRoles.xml` file from the Applicant Center application page on ServiceNow Store.\n\n4.  Import the XML file in the Script Include \\[sys\\_script\\_include\\] table.\n\n5.  Modify the frequency of the scheduled job in **Time** and **Run**.\n\n6.  Change the **Value** of the system property \\(sn\\_ta\\_hiring\\_core.markApplicantInactive.noOfDays\\).\n\n    The base system value to mark an applicant as inactive is 30 days.\n\n7.  Mark the **Active** check box as enabled and select **Update**.\n\n    **Note:** The base system condition of the scheduled job is active. You can deactivate it.\n\n\n## Result\n\nThe applicant records are deactivated.\n\n**Note:** If a deactivated applicant applies again using the same email id that was earlier used to create the sys-user record, all the existing roles are deleted and an external applicant role is assigned during reactivation. For this to happen, you must download the `HiringDeleteRoles.xml` file from the Applicant Center application page on ServiceNow Store.\n\n**Parent Topic:**[Configuring Applicant Center](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/employee-service-management/applicant-center/config-applicant-center.md)\n\n"}}