Sponsored Content
Full Discussion: Graphical Warning
Top Forums UNIX for Dummies Questions & Answers Graphical Warning Post 4460 by LivinFree on Tuesday 24th of July 2001 11:58:21 PM
Old 07-25-2001
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...
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Graphical Interface

While trying to install mandrake I click graphical install and the screen turns black ... why is it doing this? Here is what is going on ... I downloaded caldera, but i didn't know how to install it so I borrowed mandrake disks from a friend. I installed mandrake but in the middle there was... (11 Replies)
Discussion started by: OOnegative
11 Replies

2. UNIX for Dummies Questions & Answers

graphical usage

Hi, is there any graphical tool for to see the solaris unix resource usages like cpu usage,memory,disk i.o..etc? thanks (0 Replies)
Discussion started by: rags_s11
0 Replies

3. UNIX and Linux Applications

graphical elements under Control-M

Hello Guys... My customer is trying to use Control-M to schedule a batch file that runs my application and executes one Javascript, but he is facing problems with the graphical ellements from my application, that has a splash screen showing the name of the application, the license used and a... (0 Replies)
Discussion started by: ftrapnell
0 Replies

4. SCO

configuring graphical card

hello everybody, i am a new user for sco OS , i want to know how i can configure a graphical card under this system. and usb DAT plzzz (0 Replies)
Discussion started by: lid-j-one
0 Replies

5. HP-UX

need graphical display of Hp server

Hi all, i need graphical display of my Hp server to install oracle software.i connected it through telnet.can we connect from windows client to Hp server through remote desktop connection.please guide.i try a lot to get it. thanks in advance. (1 Reply)
Discussion started by: younusdba
1 Replies

6. UNIX for Dummies Questions & Answers

Best graphical editor?

I am writing most of my scripts in the vi editor (OS is AIX) at present. Just trying to see if any of you would recommend some graphical editor that supports syntax highlighting (the editor has to run on AIX). I have to log in to the UNIX server from a PC (using Xming and Putty), so it has to be... (19 Replies)
Discussion started by: soleil4716
19 Replies

7. Debian

Problem with graphical interface

Hi, i have problems with an installation of Debian i386 505 in a pc. The hardware it is a mother soyo with a chipset via. When i install the xorg, the installation it`s succesfull, but when i type startx, the pc don`t respond. I am from Argentina and my English it isn`t good. Sorry. (0 Replies)
Discussion started by: Kritar
0 Replies

8. Solaris

graphical diskspace analyzer

Hi all, recently I took over the admin task for a solaris 5.10 machine. Being a little bit familiar with debian systems Solaris is up to now a complete mystery to me. The first thing I would like to have is a graphical diskspace analyzer. I mean something like BaoBab under gnome. I there a... (2 Replies)
Discussion started by: sly_dunbar
2 Replies
calendar(1)						      General Commands Manual						       calendar(1)

Name
       calendar - calendar reminder service

Syntax
       calendar [-]

Description
       The  command  consults the file `calendar' in the current directory and prints out lines that contain today's or tomorrow's date.  The com-
       mand recognizes most month-day dates, such as Dec. 7, december 7, 12/7, but it does not recognize dates formatted in the following ways:  7
       December  or  7/12.  If you give the month as * with a date, such as, * 1, that day in any month will do.  On weekends, specifying tomorrow
       extends through Monday.

       When an argument is present, the command searches through a user's calendar file in his login directory and sends him any positive  results
       by Normally this is done daily under control of

       The  calendar  file  is	first  run  through  the  C  preprocessor, to include any other calendar files specified with the #include syntax.
       Included calendars are shared by all users, and are maintained and documented by the local administration.

Options
       -    Functions for every user who has a calendar file in his login directory.

Restrictions
       The extended idea of tomorrow does not account for holidays.

Files
       calendar
       /usr/lib/calendar to figure out today's and tomorrow's dates
       /etc/passwd
       /tmp/cal*
       /lib/cpp, egrep, sed, mail as subprocesses

See Also
       at(1), cron(8), mail(1)

																       calendar(1)
All times are GMT -4. The time now is 05:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy