I'm having an issue scheduling a nightly rebuild of my slimserversql.db. On W2K, I've got a Scheduled Task at 2:00 AM to run db_rescan.bat:
net stop slimserver
cd Cache
rename slimserversql.db slimserversql.db.old
cd ..
slim.exe --scanonly --logfile database_rebuild.log
net start slimserver
Dirt simple, but the problem is that my SB1 is powered off (or asleep) after the rebuild runs. My question is :
1. Is there a better way to schedule a rebuild? (from the command line without shutting down the slimserver service - otherwise, slim.exe complains that the slimserversql.db is locked)
2. Can I wake up / power up remotely? (saw threads on WOL, but most all the discussions were about waking up a PC, not an SB).
FYI: I rarely use the remote.
Thanks.
TRL
net stop slimserver
cd Cache
rename slimserversql.db slimserversql.db.old
cd ..
slim.exe --scanonly --logfile database_rebuild.log
net start slimserver
Dirt simple, but the problem is that my SB1 is powered off (or asleep) after the rebuild runs. My question is :
1. Is there a better way to schedule a rebuild? (from the command line without shutting down the slimserver service - otherwise, slim.exe complains that the slimserversql.db is locked)
2. Can I wake up / power up remotely? (saw threads on WOL, but most all the discussions were about waking up a PC, not an SB).
FYI: I rarely use the remote.
Thanks.
TRL
Comment