Rsears32
asked on
I created a program that creates scheduled tasks, but they do not run.
After running my batch file, it creates the scheduled tasks that I wanted but they will not run. I open up the properties and set the password and the confirm the password and they will run. I think my problem is that the passwork is not getting comfirmed by the batch file. here is my batch file....
schtasks /create /RU DECODE-PC1/Engineering /RP sicksick /sc daily /tn Bmpcleanup /tr C:\Vitronic\scripts\BmpCle anup.bat /st 10:00:00
main problem****sicksick is the password and I need to repeat the sicksick to confirm********
side problem****I also need to add a comparison as part of the tr but it will not let me.
schtasks /create /RU DECODE-PC1/Engineering /RP sicksick /sc daily /tn Bmpcleanup /tr C:\Vitronic\scripts\BmpCle
main problem****sicksick is the password and I need to repeat the sicksick to confirm********
side problem****I also need to add a comparison as part of the tr but it will not let me.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.