0

Hi. I'm trying to write a program that prompts the user of a message at a particular date. For example, a memorable date is set, and the program recognises this date from the code and lists a message.
I would like to know how to make something that can capture the date, and use this information to perform tasks on the particular day. I know that the program would have to run everytime it boots to perform this well, but I've already implemented that bit.

Thanks

2
Contributors
3
Replies
4
Views
9 Years
Discussion Span
Last Post by lAmoebal
0

Are you just trying to implement a simple sort of calendar program where the user enters a date and it says what information that is entered for that date, or are you trying to actually have the system automatically perform tasks once it reaches that date the user has entered information for?

0

I am trying to implement something that follows your second idea, when the system does it automatically according to a set date.

EDIT:

I would like to use some sort of a loop that runs around this condition, until it is met. Eg. It doesn't do anything until it reaches the date.


Thanks

0

Unfortunately I'm not sure how to help you, but I think the loop idea is probably a bad one. Wouldn't that just eat up a bunch of system resources? You could maybe do a check every 5 minutes or something somehow, and if it passed the time and date, then do what the user entered. There are plenty of scheduling programs like this out there already though, why not just use one of them?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.