Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-01-2009, 10:21 AM   #1 (permalink)
Jume
Registered Member
 
Jume's Avatar
 
Join Date: Jul 2008
Location: Slovenia, EU
Posts: 264
Send a message via Skype™ to Jume
Default Right design/code approach to call a method every N hours

Hi there,

I have a small utility app that's syncing some data from my server. I have a sync method and I would like my app calls this method automatically at certain time on a day.

What is best approach to this? I know I could deploy a timer or something but I don't know if this is the right way of doing this kind of thing...? I want the method to be executed every day at 6AM and 6PM and maybe in future every 4 hours or so...

Any tips and pointers to the right place in ADC documentation would be appreciated.

Thanks,
Jume
Jume is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,805
Threads: 89,205
Posts: 380,616
Top Poster: BrianSlick (7,129)
Welcome to our newest member, chloecoburn
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:16 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.