LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 06-25-2015, 10:55 AM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Adjustable alarm script


Alarm scripts

Quote:
#!/bin/bash
#
# Sound alarm Must input time delay in seconds
#
#
clear
[ ! $1 ] && {
echo
echo -e " Error!! No time value given for sleep !!"
echo
echo -e " Alarm Program 2015"
echo
echo -e " alarm [time value in seconds]"; exit 1; }
sleep $1
vlc /usr/share/audio/Long_Siren.mp3
 
Old 06-25-2015, 01:33 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
It appears you're sharing the script rather than asking a question. If that was your intent, thanks. You might want to marked it as Solved so it shows up that way in web searches.
 
Old 06-25-2015, 06:55 PM   #3
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I do not understand about the web searches and solved.
 
Old 06-26-2015, 08:16 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
If someone is trying to do what you wrote in the subject and does a web search (e.g. Google's it) your post will appear with the word SOLVED at the beginning which might save them time by looking at it first rather than one of the other posts that might appear which may or may not be solved.

Thanks for marking it Solved.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quest to make a flawless bash alarm script Haloony Programming 7 01-13-2011 06:04 PM
Suspend to ram/standby/(disk): Here's my flexible, adjustable 'suspend2' script. GrapefruiTgirl Linux - Desktop 21 08-15-2010 11:08 PM
Script to raise the alarm akhtar.bhat Programming 4 11-04-2008 11:49 PM
korganizer(3.5) alarm/reminder script argument problem mattsn Linux - Desktop 1 12-05-2006 10:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 09:33 AM.

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