Overview
Jive has a built-in feature called the User Decay Task that runs automatically every day and disables non-active user accounts. If you are seeing users who have not logged in for some time having their accounts mysteriously deactivated, then this may be evidence of this feature in action.
- Admin user accounts will not be affected by this task.
- User accounts that have never had a successful login attempt will not be affected by this task.
- Jive Cloud customers will have to file a Jive Support ticket to disable or modify the settings of the User Decay Task.
Information
The default behavior of the User Decay Task is as follows:
- Every day, at 1:00 AM UTC, the User Decay Task executes. Each user account's last logged-in date value is compared to the current date/time.
- If the difference is greater than 12 months (standard accounts), or 2 months (external contributors), then the user account is deactivated. All content created by the user is maintained.
- How to check when a user was last logged in
- How to reactivate a deactivated user
- How to disable the User Decay Task
- How to reduce or extend the time before the User Decay Task deactivates a user account
- How to change when and how often the User Decay Task executes
How to check when a user was last logged in
-
To find the Last Logged In date for a recently disabled user, log in to your Jive community site, then navigate to Your Avatar > Admin Console
-
Click People, then search for the specific user.
-
Check the search results for the date of the user account's Last Login date, or the Last Sign in date for Hosted and On-Premise customers:
-
If the user account's last logged-in date was more than 12 months ago, then you are likely seeing the effects of the User Decay Task.
How to reactivate a deactivated user
-
With the user profile open, click the Activate link
-
Click the Ok button on pop-up dialogue box.
How to disable the User Decay Task
-
The user decay task can be disabled via two system properties. To alter them, navigate to Your Avatar > Admin Console > System > (Management) > System Properties
- To disable one or both of the tasks, set the following system properties (if they are not already listed, add them as new properties):
user.decay.task.enabled = false
external.user.decay.task.enabled = false -
In Jive 7 and newer, this property takes effect immediately and can be confirmed by looking for the "userDecayTask" on the System Tasks Management page located at Admin console > System >
Management > System Tasks.
How to reduce or extend the time before the User Decay Task deactivates a user account
- To extend or reduce the last-logged-in cutoff associated with the User Decay Task, set or alter the following system property, like so:
For standard users
user.decay.task.enabled = true
user.decay.period = 16For external users
external.user.decay.task.enabled = true
spring.externalUserDecayRunnable.decayPeriodMonths = 16 -
Using the above as an example, only the user accounts with the most recent login time before 16 months ago will be disabled.
-
The task will not disable any users if the property is set to 0.
-
A restart is required for these properties to take effect prior to Jive 7.
How to change when and how often the User Decay Task executes
-
The default execution time for the User Decay Task as at 1 AM UTC daily
-
To modify when this process kicks off, add or edit the system property of
spring.userDecayTask.cronExpression
to change it for standard users andspring.externaluserDecayTask.cronExpression
for external users, and give it a new cron expression.
For example, if you would prefer to execute the decay task only once a week, rather than nightly for a standard user, you could set this system property:
spring.userDecayTask.cronExpression = 0 0 1 ? * SUN
This sets the process to occur every Sunday at 1 AM. For more examples, see the Quartz Scheduler crontrigger documentation.
Comments
0 comments
Article is closed for comments.