![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
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 |