LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-24-2006, 01:25 PM   #1
uikiat
LQ Newbie
 
Registered: Dec 2003
Location: Taiwan
Distribution: Mandriva 2006 & Puppy
Posts: 5

Rep: Reputation: 0
Shell script for school bell


I would like to write a script which can automate the bell in my school. I can imagine it would be fairly simple, but I simply don't know the best way to go about it

The idea is to play two sound files: one played at the start and one played at the end of each lesson.

One complication is that, for example, Monday and Thursday's classes may differ a little from the rest of the week.

I would like to see this happen; it's all part of my plan to have Linux take over the whole place!

Is cron/crontab the way to go? I've no previous experience of using either, is there something better?

Any pointers or examples of how this could be achieved would be greatly appreciated.
 
Old 01-24-2006, 01:32 PM   #2
cliff99
LQ Newbie
 
Registered: Dec 2005
Location: Germany
Distribution: Debian, Kanotix, Kubuntu
Posts: 2

Rep: Reputation: 0
Yes, cron is what your are looking for. Just find some documentation about how to set up the crontab and then type "crontab -e" to edit it.
 
Old 01-25-2006, 10:46 AM   #3
uikiat
LQ Newbie
 
Registered: Dec 2003
Location: Taiwan
Distribution: Mandriva 2006 & Puppy
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, Cliff. I'll check it out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 03:14 AM
bell in a shell. bruse Linux - Newbie 2 01-23-2006 09:16 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 06:32 PM
aterm: display bell and audio bell hallamigo Linux - Software 4 05-02-2004 01:00 AM
Cygwin:How do you turn the bash shell bell off? petercool Linux - Newbie 8 05-23-2003 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration