Trying to create a scheduled task to run once using C++ , Task Scheduler 1.0 on win7
问题 I'm trying to create a very simple program which will run Notepad after two minutes (these are all simplified to make a clearer question). I tried to merge some of MSDN's examples and to my surprise everything compiled successfully, when running the program a .job task is created in C:\Windows\Tasks . I don't see the new task in the "Task Scheduler" GUI program and I assume this is because "Task Scheduler" shows only Task Scheduler 2.0 tasks, but I'm not sure. The problem is that the task is