Subscribe

Can I schedule an open file session kill for a CIFS Share

Hello All,

Is there a possibility where we can schedule an open file session kill for a specified CIFS shares.

There is a CIFS share where mulitple users log on and work and everyday at specific time one file needs to be updated but it would be lock with some user, being an admin we can kill a session and make that file write for the next user but I was just checking if we do any scheduling on this

Appreciate your revert.


Kind Regards,

Prasad

Re: Can I schedule an open file session kill for a CIFS Share

is that always the same user you could do per script

Re: Can I schedule an open file session kill for a CIFS Share

Thanks for the update Hoffmann,

Not sure if that would be with same user but with same file, The scripting can be done but I was thinking if there is any option from DFM.

Even if I have a script how do I embed the same in the DFM

Re: Can I schedule an open file session kill for a CIFS Share

I researched more on this and with the help of lock break command we can kill a session from the filer cmd prompt.

Now is it possible to schedule a command from DFM to kill a session

Command Ex :

lock break -f "/vol/Share/folder/file.xlsx" -p cifs

Re: Can I schedule an open file session kill for a CIFS Share

Thanks for this, I need to do the same for some out of hour maintenance and this will help