Here is the process if you dont want to delete users from OIM or want to set different delete date than default (same day) after end date(end date disable users account but do not delete).
1. Disable/Delete User After End Date
An end date is defined when a user account is created. This scheduled task disables user accounts for which the end date had passed the current date at the time when the task is run.
2. Delayed Delete User
This scheduled task automatically deletes the user whose delete date is before the start of today.
The XL.UserDeleteDelayPeriod system property indicates the number of days after which the user is to be deleted. When the administrator deletes a user, the user is marked in the Disabled state, and the user's 'Automatically Delete On' date is set for the future date after the number of days indicated in the XL.UserDeleteDelayPeriod system property.
if you want to only disable account but we don't want to delete accounts from OIM, you can change system property value of "Period to Delay User Delete" default value is set to "0" it means delete users after disabling(same day) . we can set any value like 365(for one year), 1825(for 5 years) or any value to delete a users account after disabling it.
if we don't want to delete any account after disabling it, you can stop "Delayed Delete User" schedule job to run(it is not a good practice to keep the old accounts in OIM).