|
| |||||||||
| Tags: batch, batch file, ftp, task scheduler |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Task Schedule batch file
I have a batch file (ftp) which works just fine when I manually run it. When I set it up in Task Scheduler, status says it runs, but the cmd window pops open a second, nothing there, and closes. I have it set to run when user is logged on, and run with highest privileges. Well, I have tried all sorts of combos. When run fron Task Scheduler, it says Queened in the status column. I'm out of ideas. |
|
#2
| |||
| |||
|
Do you have a password setup for your user. Mine tasks won't execute without one. Yes I do. Both users and admin have passwords. Don't know that it makes a difference, but this is Visata Business. |
|
#3
| |||
| |||
| Re: Task Schedule batch file
When you need to edit the schedule run command to "cmd /c Batchfilename.bat" This allows windows to run the command prompt for executing the batch file. Otherwise the batch file will not execute |
|
#4
| |||
| |||
| Re: Task Schedule batch file
I don't suppose I could get you to post your script info (minus your personal info obviously)? I am struggling to build an ftp batch file that I could load for some lesser capable folks I work with for uploading files to my ftp when they are away. There is almost nothing posted on how to do this in 2k/xp and vista. Many thanks in advance if you would :-) |
|
#5
| |||
| |||
| Re: Task Schedule batch file
Hello, we have the same problem using XP Professional and I have tried; In Task [ C:\BatchFile\Ftp.bat ] and In Task [ Cmd / C:\BatchFile\Ftp.bat ] Am I doing something wrong ? |
|
#6
| |||
| |||
|
Task -> Actions -> Edit Try Cmd /c C:\BatchFile\Ftp.bat /c = carry out command and then terminate |
|
#7
| |||
| |||
| Re: Task Schedule batch file
Two things: 1. cmd /c "name of batch file" (without quotas) 2. run as group "administrators", this thing was solve my prob |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Task Schedule batch file" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Group Policy for Schedule Task | saqib ahmad | Active Directory | 1 | 11-05-2011 01:41 AM |
| XP Schedule Batch file | Stockholm | Windows Software | 3 | 03-01-2009 09:36 AM |
| Problems running batch file as scheduled task | pete0085 | Windows Server Help | 7 | 01-01-2009 03:15 PM |
| schedule a task to run every 60 seconds | John | Windows Server Help | 4 | 09-02-2008 12:16 AM |
| Change the task schedule | Nikou | Microsoft Project | 6 | 24-01-2008 07:50 AM |