• 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
TimerTask considerations.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TimerTask considerations.


  • Subject: TimerTask considerations.
  • From: steve stout <email@hidden>
  • Date: Tue, 24 Feb 2004 15:33:04 -0700

Here's the situation. I have an app that needs to export data (via FTPS) every 5 mins or so. What happens is the app accepts transactions (deposits for a campus meal plan) from the users and saves that to the db. For the deposit to actually be credited to the patron's account I have to send off a text file to another server to be imported.

My problem is that this export can't get interrupted while it's in progress. The 2 most common situations that this might happen is a scheduled restart every night, and if I need to update the app.

So my question is, how do I keep the thread that this task is running in from letting the app quit until the thread quits? Or should I just forget about having this in the app and move it to a separate app that can be started from cron?



///---------------------------------------
steve stout
web coordinator
arizona student unions
52o.626.o1o9

http://www.union.arizona.edu
_______________________________________________
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.


  • Prev by Date: Re: eomodeld in xcode
  • Next by Date: Re: eomodeld in xcode
  • Previous by thread: Re: eomodeld in xcode (fix)
  • Next by thread: Is WebObjects Dead?
  • Index(es):
    • Date
    • Thread