So both Oracle and Windoze provide cron like facilities. If that's all you
need, then I think you are set. Windoze's cron like thing is called at,
works about as good as cron does, and there is a windowing admin tool called
winat or something like that (I haven't used it in about six months, so the
details are fuzzy). Oracle's facility is called DBMS_JOB, I've never used
it.

-----Original Message-----
From: Sam Rose [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 27, 1999 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Stopping writes to a database using a servlet?


Thanks, but unfortunately I'm using windows and an oracle database.

-----Original Message-----
From:   Tammam Al-Hamwy [mailto:[EMAIL PROTECTED]]
Sent:   Tuesday, April 27, 1999 2:50 PM
To:     [EMAIL PROTECTED]
Subject:        Re: Stopping writes to a database using a servlet?

This seems like doing the 'crontab' job on UNIX.  Is the database on UNIX?
If so you can't you just manipulate the crontab file directly or through a
script
controlled by your servlet.  In other word your servlet is nothing but a
front end to
the contrab.

Hope this help.  More information posted might help the list help you.

Cheers,


Tammam Al-Hamwy

Voice: (416) 349-4627
Fax: (416) 349-2450



Sam Rose <[EMAIL PROTECTED]> on 04/27/99 05:39:36 AM

Please respond to "A mailing list for discussion about Sun Microsystem's
      Java              Servlet API Technology."
      <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Tom Al-Hamwy/Toronto/IBM)
Subject:  Stopping writes to a database using a servlet?





Hello,

Does anyone know how to use a servlet to make sure that a database con
not be written to after a supposed date?

I.e. say that after 3:00 today I could stop users writing to the
database, and then commit all info?


Thanks in advance.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to