Running the program when system is shutdown!
Hi Everyone,
i have created a Birthday Reminder application. I have set the alarm for a particular time in the program. Now what i want is that when i have my system shutdown and restart if the alarm time is included in that shutdown time , a pop up must show that "Alarm missed on time time_saved_for_alram".
Hope u all can understand my need. Please help me in this regard.
Serban CosminPosted Oct 24, 2009, 2:28 AM
Sriram RamaniPosted Oct 23, 2009, 11:37 PM
jingePosted Oct 22, 2009, 11:25 PM
The correct way to handle such situation is to persist the alter alarm list in the data file before the application closes. When the application is restart, and opens the application, the application should scan the list and see compare with the current time. If the current time is late than some of the alert time, and prompts the user that some alert has been missed.
It is just like the Outlook..
So if you think my suggestion makes sense, please do not forget to check my post as answer.
Thank you!
Serban CosminPosted Oct 22, 2009, 7:50 AM