• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Periodic worker threads.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Periodic worker threads.


  • Subject: Periodic worker threads.
  • From: Kent Harris <email@hidden>
  • Date: Sat, 27 Mar 2004 05:13:24 -0800

I have a java client setup wherein I need to periodically do database processing. For example, every night at midnight I need to look for a file that may have placed in a directory and process that file into the database.

Since the client-side isn't involved the normal request-response loop isn't in play. Do I just spawn a thread from Application.java that sleeps until midnight and then starts crunching? How do I establish a proper context if there is no session object?

- Kent
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Periodic worker threads.
      • From: Travis Britt <email@hidden>
  • Prev by Date: WO 5.1 on Panther
  • Next by Date: Re: Periodic worker threads.
  • Previous by thread: Re: WO 5.1 on Panther
  • Next by thread: Re: Periodic worker threads.
  • Index(es):
    • Date
    • Thread