Hi,
I am trying to make a script to auto unlock documents if they have been locked for more then a day. Currently i am facing an issue where users use Word to check out the documents, save them so they can email the document to someone (subscription is not working...) then try to check in the document. In this process word cannot check in the document so they try to use IE to check in but it says for the same user that the node is locked. To fix this i have to login to unlock through repository in admin view...
So i am now thinking to use a script to fix that until i get the subscription working... Any ideas on the code to accomplish this? well i am thinking of this:
I am trying to make a script to auto unlock documents if they have been locked for more then a day. Currently i am facing an issue where users use Word to check out the documents, save them so they can email the document to someone (subscription is not working...) then try to check in the document. In this process word cannot check in the document so they try to use IE to check in but it says for the same user that the node is locked. To fix this i have to login to unlock through repository in admin view...
So i am now thinking to use a script to fix that until i get the subscription working... Any ideas on the code to accomplish this? well i am thinking of this:
Code: Select all
Of course i have no idea on the actual variable name so i need help with that...where timeout.time > 1440
timeout.unlock
