L
LillyC
Question:
Is there a way to set the ID via the AT command or use some other method
to create a task with a specific ID?
What I'm doing (trying to do):
I'm adding schedule items via the AT command.
Whenever the user runs my software, I'd like to be able to remove old
items that I added before I add a new one.
Problem:
I can remember the id returned in the status of the AT command, but it
isn't very specific. If the user or some other program removes my
scheduling item and another is put in it's place, then I will end up
destroying the wrong item when I start up again.
Why schtasks doesn't work for me:
I tried using schtasks but this doesn't appear to work on XP Home (I need
to work on 2k,XP Home, Pro, 2003, and hopefully Vista.
I also could not find a way to run schtasks as System (I'm creating the
task from a Java program)
-Lilly
Is there a way to set the ID via the AT command or use some other method
to create a task with a specific ID?
What I'm doing (trying to do):
I'm adding schedule items via the AT command.
Whenever the user runs my software, I'd like to be able to remove old
items that I added before I add a new one.
Problem:
I can remember the id returned in the status of the AT command, but it
isn't very specific. If the user or some other program removes my
scheduling item and another is put in it's place, then I will end up
destroying the wrong item when I start up again.
Why schtasks doesn't work for me:
I tried using schtasks but this doesn't appear to work on XP Home (I need
to work on 2k,XP Home, Pro, 2003, and hopefully Vista.
I also could not find a way to run schtasks as System (I'm creating the
task from a Java program)
-Lilly