Hi:
The scheduler and the shutdown time should not be set to the same time. Set the shutdown time to a few minutes after the scheduler off time.
There is another way to do it that does not use Vixen to turn off the computer. I have used this system for 2 years now with no problems at all.
In XP, you can set the computer to run a specific program on power up. My computer is plugged into a timer, which comes on at 5:00 pm. The computer boots up and starts Vixen, which then starts random Christmas music over the FM transmitter. At 5:30, the scheduler kicks in and starts running the programmed sequences. At 10 pm, the scheduler shuts down, random music continues until 10:15 and then the timer shuts down the computer.
When the computer boots up, no other program is loaded except the normal processes that have to be there. XP is not bothered by an abrupt power down because Vixen is a stand-alone program and does not have to store any information when it quits.
As I said, two years and no failures with this system. My timer is a GE from Home Depot and has battery backup, so a power failure does not affect it.
I'm using Vixen 2.5.0.8. I had unsolvable problems with the scheduler in 2.1.1.4.
IdunBenhad wrote:At 10 pm, the scheduler shuts down, random music continues until 10:15 and then the timer shuts down the computer.
Here's just a thought... Windows sometimes doesn't take too well to just powering it off without a logical shutdown process, but you can use Windows Scheduler to run the Windows shutdown.exe program and force it to close things by using a couple simple command line parameters. Just make sure you set scheduler to activate the shutdown after your show has ended.
You'll find shutdown.exe in the c:\windows\system32 directory. A good command line to use is:
c:\windows\system32\shutdown.exe -s -f
When scheduler activates the command line, a Windows message box will appear and display something to the effect that the computer will shut down in 30 seconds. The -f parameter forces any applications to close, and it's a more secure way of closing Windows than by flipping the power switch.
After all, you want the computer to power UP again... and if the Windows Registry gets hammered because of a sudden power off, you might get the BSOD instead of your show...
Hi:
OK, thanks for the tip. I will incorporate that.
You're right about ordered shutdown. I just was not aware of Shutdown.exe and always thought I was probably living on borrowed time.
But, as I said, two years now and everything is still OK. As I said in another thread, Murphy lives in California, not here.
dirknerkle wrote:c:\windows\system32\shutdown.exe -s -f
As usual, Dirk's advice is solid. that is exactly what I do as well. I have a scheduled task that shutdowns and restarts my vixen machine.
Steve E.
Hi:
Yes, it works, I just tested it. However, doing a shutdown in this way does not let the computer power back up when AC power is turned on.
What I was doing was shutting the power off with a timer and then reapplying power through that timer and it would boot back up on power on, not using the front panel power switch. Using Shutdown.exe won't let it power up and boot up. I have to press the front panel switch.
Gotta' run right now, will test it more tomorrow. If there is a tomorrow.
