[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3388.0. "Beginner's Question on Clock" by NATIVE::ROSENBERG (Dick Rosenberg VRO5-1/D7) Tue Sep 25 1990 09:50

    Hi,
    
    I'm sure this question has been asked before, but I am a new DECwindows
    user, don't know the answer, and can't really plow through 3,000 or so
    notes to find out. So...
    
    I want to use the Alarm feature of the clock to go off at about 7
    selected times during the day every day. Is there any way I can do
    this? Going through the online help and the manual, I get the
    impression I can only set the alarm for one setting and I also don't
    see a way to have it automatically repeat.
    
    Any help?
    
    Thanks,
    
    Dick
T.RTitleUserPersonal
Name
DateLines
3388.1QUARK::LIONELFree advice is worth every centTue Sep 25 1990 09:524
I don't know about the Clock, but the Calendar application certainly
can do this.

			Steve
3388.2YRDARM::finneganNeal, DECdecision - mail to: via::finneganTue Sep 25 1990 10:055
The clock only supports one alarm.  You must reset it each time.  Calendar
is more appropriate for mulitple alarms each day (and the good news is they are
both free for VMS and Ultrix!).

Neal
3388.3Beginner's Question on ClockCONSUL::KASPARTue Sep 25 1990 10:5363
   MANFRED

	One simple way to enable multible alarms is to use different
	resource files.


	eg. ULTRIX activate a script in /etc/crontab at spezified time
	29 11 * * * /usr/users/z/xy >/dev/console 2>&1
	29 17 * * * /usr/users/z/ab >/dev/console 2>&1

	/usr/users/z/xy:

	cp /usr/users/z/setting1 /usr/users/z/.DXclock
	kill `ps ax| grep /usr/bin/dxclock | grep -v grep | awk '{print $1}'`
	/usr/bin/dxclock -d :0 &

	/usr/users/z/ab:

	cp /usr/users/z/setting2 /usr/users/z/.DXclock
	kill `ps ax| grep /usr/bin/dxclock | grep -v grep | awk '{print $1}'`
	/usr/bin/dxclock -d :0 &


	/usr/users/z/setting1:

	Clock*foreground:       white
	Clock*background:       gray30
	Clock.Clock.militaryOn: 0
	Clock.Clock.analogOn:   1
	Clock.Clock.digitalOn:  0
	Clock.Clock.dateOn:     1
	Clock.Clock.alarmOn:    1
	Clock.Clock.alarmPM:    0
	Clock.Clock.alarmHour:  11
	Clock.Clock.alarmMinute:        30
	Clock.Clock.alarmMessage:       Hello!
	Clock.geometry: 180x85+834+0
	Clock.Clock*clientDecoration:     -resizeh -maximize

	/usr/users/z/setting2:

	Clock*foreground:       white
	Clock*background:       gray30
	Clock.Clock.militaryOn: 0
	Clock.Clock.analogOn:   1
	Clock.Clock.digitalOn:  0
	Clock.Clock.dateOn:     1
	Clock.Clock.alarmOn:    1
	Clock.Clock.alarmPM:    0
	Clock.Clock.alarmHour:  17
	Clock.Clock.alarmMinute:        30
	Clock.Clock.alarmMessage:       Go home!
	Clock.geometry: 180x85+834+0
	Clock.Clock*clientDecoration:     -resizeh -maximize
	and so on ...

	eg. VMS
	Do it similar with a BATCH job.

	I hope that helps all of you.

   END_MANFRED
3388.4It worksNATIVE::ROSENBERGDick Rosenberg VRO5-1/D7Tue Sep 25 1990 15:4518
    .1 and .2 did the trick. I went into the Calendar application, set up
    dummy appointments for my 7 specified times end the used ENTRY/EDIT to
    make the alarm repeat daily.
    
    Thanks.
    
    Some more questions. I assume that I should iconify the Calendar
    application and leave it running, otherwise I will lose everything.
    Right?
    
    Also, here at VRO we get sporadic power hits and everything goes down
    and I get rebooted (or I try to do too many things with my workstation
    and it freezes and I have to reboot.) Is there any way  I can set things
    up so I don't have to re-enter all that stuff when that happens (What do
    people who really use that application for keeping their calendars do?)
    
    Thanks,
    Dick
3388.5BLOCKP::nethCraig NethTue Sep 25 1990 15:5717
>    Some more questions. I assume that I should iconify the Calendar
>    application and leave it running, otherwise I will lose everything.
>    Right?


Nope.  If you want to get the alarms, the calendar must be running, but
it need not be 'open' (i.e. it can be iconified).

But you certainly don't have to keep it running to avoid losing your 
appointments, because Calendar saves them in a data file.  So, if your machine
reboots, all you have to do is restart the calendar.

Try it now if you need convincing: quit from calendar and restart it. Your
appointments will still be there.  



3388.6Is this a bug?NATIVE::ROSENBERGDick Rosenberg VRO5-1/D7Thu Sep 27 1990 10:5920
    I may have discovered a minor bug in the Calendar application. I am
    using the Calendar to remind me to do some stretching exercises I have
    to do several times a day. I set up my "appointments", went into Entry
    Edit to make them daily, and all seemingly went well. Then I noticed
    the application reminded me of my "appointment" 5 minutes before the
    time. I went back into Entry Edit and saw that there was a feature to
    do this which could seemingly be disabled by clicking on the button. It
    turned from red to clear, which is to be expected. I clicked on OK. I
    got the dialogue box saying it is a repeating applicating, do you want
    to change this occurrence only, this and all future, or this and all
    past,present and future. I have tried clicking on both this and all
    future and this and all past, present and future, but when I go back
    into Entry Edit for the appointment, it shows the 5 minutes before
    button read again.
    
    Any suggestions?
    
    Thanks,
    
    Dick
3388.7Works for me...GOLLY::MILLERI need 'Deeper Understanding'Thu Sep 27 1990 19:445
    What version are you running (VMS,DECwindows,Calendar)?
    
    Regards,
    
    	 	== ken miller ==