The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
graphical usage rags_s11 UNIX for Dummies Questions & Answers 0 06-03-2008 07:18 AM
[ID 882636 kern.warning] WARNING: interrupt level 11 not serviced voxure SUN Solaris 9 01-30-2006 02:49 AM
Graphical interface programming in FreeBSD Sergiu-IT BSD 3 04-15-2005 02:40 PM
Graphical Interface OOnegative UNIX for Dummies Questions & Answers 11 07-03-2003 08:21 PM
graphical diff utility avnerht UNIX for Dummies Questions & Answers 1 09-09-2001 08:52 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-24-2001
Registered User
 

Join Date: Jul 2001
Location: Philippines
Posts: 9
Graphical Warning

Good day to all.

What can be a good alternative if we want to somehow make an xterm window pop-up to give a simple warning message like "This equipment is due for calibration." This event will be triggered by checking the machine's date and compares that with a simple date list to give out the warning at the correct date. Can anyone give alternate solutions? (like trigger the netscape browser, or use an xterm window) I really need your thinking caps here guys....
Forum Sponsor
  #2  
Old 07-24-2001
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
What about running a shell-script from cron? At a given time (every hour, twice a day, at noon every day, etc...) check to see if today's date is in your list of dates. Or it could check to see if it was, say 60 days from the last time it was run. The program would leave a flag file containing the last date it was run successfully to compare against... There are thousands of ways to determine if it should run... the at utility, a scheduler app (like a meeting reminder), etc...

Then it's just a matter of displaying it...
You could use wall, an xterm pop-up, use the dialog utility, a wish pop-up...

Once you figure out exactly how you want to do it, it would then be easier to execute... Are you guys using X-Windows? Terminal? Would it be better to send out an e-mail on those certain days?

The best course of action would be to figure out the means by which you want to have this happen, and then start mapping out how it should work. Maybe I work backwards here, but that's what I would do...
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0