LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   How to make multiple computers beep at the same time? (http://www.linuxquestions.org/questions/programming-9/how-to-make-multiple-computers-beep-at-the-same-time-180139/)

vdogvictor 05-10-2004 09:06 PM

How to make multiple computers beep at the same time?
 
First off this would be for a windows network. There is a school in my city that has no bell system and they want all their computers to beep at the same time...probably from a batch file located on one computer that is a scheduled task to remotely beep all the other computers at the same time. They don't want each computer to have its own clock because of the difference in system timers. any ideas?

crabboy 05-10-2004 10:22 PM

What kind of a school does not have an intercom system?

Easy:
Sync up the times on all the machines with the PDC every morning. Use a process on each machine to signal the sound at specified times.

Moderate:
Create a process that can be run either as a master or slave. In master mode it can read the times and slave hosts from a file and communicate via socket to relay information. Slave mode will just listen for the messages and beep. You will likely need some smarts built into the communication so some jive turkey in the computer lab doesn't set off the beep whenever he/she wants.

Moderate +:
Do the moderate step, but create the process as a windows service

vdogvictor 05-10-2004 10:33 PM

PDC? sorry I don't know that acronym. And is it actually a charter school that is just in a building w/out bells...not sure why exactly lol.

scottbrown4b 05-10-2004 10:47 PM

PDC = Primary Domain Controller. They are mainly Windows 200x Servers, however, you can set Linux or Mac to work as one.

--Scott

vdogvictor 05-10-2004 10:49 PM

how do u sync them up? can it be added to the autoexec.bat file because teachers and computers = bad usually


All times are GMT -5. The time now is 09:13 PM.