I've googled and seached super user for this but haven't found anything. I wan to set the option "If the tasks is not scheduled to run again, delete it after:" using schtasks, or if thats not possible if you know another way to set that option in a scheduled task.
Edit: This needs to be via command line