JJZolx;628461 Wrote: 
> Could you find the time to knock out a quick plugin that can unlock and
> lock the SQLite databases from the web UI?
> 
> Andy has a CLI command to do this, although I'm not sure if you use the
> CLI from plugins.
> 
> http://forums.slimdevices.com/showthread.php?t=74809
> 
> If so, thanks!
You can do this from SrvrPowerCtrl.  Add a couple of custom commands:

Label:   Unlock DB
Command: cli://pragma locking_mode = NORMAL

label: Relock DB
Command: cli://pragma locking_mode = EXCLUSIVE

You'll then be able to unlock or lock the db right from the SBS webUI.


-- 
gharris999
------------------------------------------------------------------------
gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115
View this thread: http://forums.slimdevices.com/showthread.php?t=87401

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to