java timer and scheduling
Posted on 2012-03-23
Hello. I am wondering, if I am using Timer or TimeTask classes or ExctutoThreadPool to have code run and write to a remote database and I am running this on Windows 7, what happens if the computer goes into sleep mode? Does the code not run and the remote writes to a database not happen?
And how about if I use the Windows scheduler, does the code run if the computer is in sleep mode?