Search found 4 matches

by bbcac
13 Dec 2011 12:07
Forum: DOS Batch Forum
Topic: Dos batch file to check scheduled task status
Replies: 7
Views: 16758

Re: Dos batch file to check scheduled task status

I need just a little more help. Everything is working fine however some of our users that have windows XP and some have windows 7 I used the /TN parameter on the shdtasks program which works great on Windows 7. On windows XP this parameter is not available. I tried SCHDTASKS /Query /s Myserver /fo t...
by bbcac
12 Dec 2011 21:43
Forum: DOS Batch Forum
Topic: Dos batch file to check scheduled task status
Replies: 7
Views: 16758

Re: Dos batch file to check scheduled task status

What I am saying is that it doesn't act as you say it should. If I leave it like it is, then run the script it goes straight to "Done" and ends execution. However If I repalce the Goto :decrypt line with echo "DONE" it will loop through "Still Going" every two seconds, ...
by bbcac
12 Dec 2011 16:03
Forum: DOS Batch Forum
Topic: Dos batch file to check scheduled task status
Replies: 7
Views: 16758

Re: Dos batch file to check scheduled task status

Thanks for your help... what is wrong with this code? If I replace goto :decrypt with echo "done" it works as fine (but never stops). But if I put goto decrypt, it goes there right away REM ** RUn the SFTP collection. THis runs under the context of ent\FTP_EPay schtasks /RUN /S MYSERV /TN ...
by bbcac
12 Dec 2011 15:18
Forum: DOS Batch Forum
Topic: Dos batch file to check scheduled task status
Replies: 7
Views: 16758

Dos batch file to check scheduled task status

I want to create a batche file that will kick off a scheduled task on a remote server, check the status, then execute some more stuff I can execute the scheduled task like this schtasks /RUN /S myserver /TN "my_task_name" I can check the status like this schtasks /query /s myserver /fo lis...