I am trying to create an application that will give the user an option to choose time to schedule certain task that will be called as a method and must run according to specified schedule by user.
Could you please recommend me what would be the best approach for this problem.
I had 2 ideas in my mind. First is just to use windows AT command for scheduling and write win command when user schedules, but this way I will not be able to retrieve and delete previous task as far as I understand. The other idea was to use thread and put it to sleep according to scheduling selected.
It would be very interesting to hear your ides. Interesting topic.
Could you please recommend me what would be the best approach for this problem.
I had 2 ideas in my mind. First is just to use windows AT command for scheduling and write win command when user schedules, but this way I will not be able to retrieve and delete previous task as far as I understand. The other idea was to use thread and put it to sleep according to scheduling selected.
It would be very interesting to hear your ides. Interesting topic.