capnspacehook / taskmaster

Windows Task Scheduler Library for Go
MIT License
142 stars 29 forks source link

Does not work on Windows 7 #29

Open maja42 opened 3 years ago

maja42 commented 3 years ago

When running a go-executable on Windows 7, taskmaster is unable to create a scheduled task if the task folder does not exist. On other windows operating systems, the folder is simply created.

On windows 7, when I set "overwrite=true", I get this error message:

error deleting registered task \Microsoft\some\nonexisting\path: The system can not find the file specified

When I set "overwrite=false", I get:

error getting registered task \Microsoft\some\nonexisting\path: The system can not find the file specified