The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 03-18-2009, 11:11 AM
What's Jailbreak?
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Limit time for New Mail Notification

One of the reasons I got an iPhone was to get my work email, but I didn't want email alerts at 3am. So I wrote a simple shell script and launch daemon to turn on and off the alerts at times I specified (and weekends). Eventually I'd like to develop a gui so you don't have to SSH to change the time but that is a bit off.
Attached Files
File Type: zip MailAlertController.zip (1.2 KB, 9 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 03-19-2009, 12:47 AM
What's Jailbreak?
 
Join Date: Jul 2007
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post

Thank you for this, I was waiting for something like this as there are no schedulers/profiles apps that control my email notifications and sounds as simple as this. There are apps but I don't like installing apps that may slow down my iPhone.

The file that you attached, are the times set from 8:00 am to 5:00 pm? So all I have to do is make changes to these times? Thanks

mokeiko
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 03-19-2009, 12:04 PM
What's Jailbreak?
 
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

First for your question: Yes, the times are set for 8am and 5pm, so all you need to do is modify those in the .plist file and reload it through launchctl.

Second: the code I posted yesterday sets the property correctly, however the mobilemail application was not picking up this changed property. I've updated the code (attached) so that the mobilemail application restarts and picks up the property change.

Third: What apps are there that do this, I could not find any...
Attached Files
File Type: zip MailAlertController v1.1.zip (1.4 KB, 5 views)
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 03-19-2009, 03:30 PM
laz305's Avatar
My iPhone is a Part of Me
 
Join Date: Jun 2007
Device + Firmware: iPhone 3GS 3.0
Operating System: XP
Location: Miami
Posts: 994
Thanks: 143
Thanked 59 Times in 42 Posts
Send a message via AIM to laz305 Send a message via MSN to laz305 Send a message via Yahoo to laz305

yes plz gl in making this an app
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > iPhone Modding > File Mods

Tags
disable, limit, mail alert, time

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 08:42 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top