I have an anti-virus program running for several hours and the only way to keep it going is to disable the sleep mode. I also have Windows 7 through VMware, and the virus program checks this OS in particular for virus problems.
I have been able to disable the Mac screen saver but not the Mac sleep mode.
I'm not sure if this can be done, and as a result, the virus program stops working when the computer is in sleep mode.