Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM 6.1 -Scheduler throwing session timeout error

jegadeeshanm
Level 2
Level 2

Hi ,

We are doing the cleanup activity, where the old nodes(custom) are being deleted from each user profiles. since this is affecting huge number of nodes, we implemented a scheduler to take input as "/home/users/A" and start deleting the nodes which falls under some date criteria.

Scheduler is working for 2 to 3 times (deleting 20000 nodes each time). after that it is throwing session timeout error.

we tried following approaches but no luck.

1. indexing the properties

2. removing session.logout() from the code

2. used session.refresh(1)

Any advise will be helpful.

Thanks in advance

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10
1 Reply
smacdonald2008
Correct answer by
Level 10
Level 10