0
votes
3answers
60 views

Create .bat to do a task at a certain time

I'd like to create a .bat file in Windows 8.1 that does a task (specifically, close a program/kill a process) at a certain time. I usually use the command line (which, I believe, works as a .bat ...
0
votes
0answers
253 views

Run schedule task while logged off using command line on local machine under windows7

I'm tryig to run this batch file: schtasks /create /SC once /ST 23:00 /tn "batch2" /tr "c:\windows\system32\schtasks.exe /run /TN "Acronis\backup_to_disk2" /ru "WORKGROUP\Tps02-PC$" rl/ highest ...
0
votes
0answers
28 views

command line needed for creating task with eventID

I want to schedule a task through cmd, the task has to run a .bat file when my WiFi connects. I have manually created a task which does this but I want to do this by command line. I tried this ...
0
votes
1answer
232 views

Schedule a .bat file to run at a certain time/within a certain amount of minutes

How do you schedule a task to run a batch file at a certain time/within a certain amount of minutes? I'd use at 12:34 C:\example.bat but unfortunately the AT command is deprecated.. I'd like to use it ...
0
votes
2answers
246 views

Can not schedule a batch file to run at startup [duplicate]

I'm trying to schedule a batch file to run at start up. Here is my command: schtasks /create /tn test /tr c:\simple.bat /sc onstart simple.bat only writes the current time to a file: time /t > ...
0
votes
0answers
59 views

Windows command-line: Is it possible to modify (or create) an scheduled task for “Run task as soon as possible after a scheduled start is missed”?

I wanna change this option via command line using schtasks (or whatever), but the docs seems not to have an option for it: Run task as soon as possible after a scheduled start is missed only the ...
1
vote
2answers
40 views

Is it possible to modify (or create) an scheduled task in Windows command-line to remove the need for user login?

Is it possible to change, by using command-line, this first state in my Windows Task Scheduler (sorry, my Windows is in spanish; look for translation on the bottom): to this other? Only ...
2
votes
1answer
579 views

Win7 Task Scheduler Won't Run Copy Commands

I'm trying to run a patch file every morning at 4am. For whatever reason, the lines in the batch file that use robocopy.exe are skipped. I've also tried xcopy and cp(from UnxUtils). The batch file ...
1
vote
1answer
2k views

How to show command-line app started by Windows Task Scheduler?

I have created a task on Windows Task Scheduler to run a command-line app everytime I lock this machine. It works like a charm. My question is: Is it possible to see the Command Prompt window when I ...
0
votes
0answers
176 views

schtasks: How to set 'Stop the existing instance' from commandline?

If a task (in schtasks.exe) is already running, then the following rule should apply: "Stop the existing instance". Source: http://technet.microsoft.com/en-us/library/cc722178.aspx How can I set ...
2
votes
2answers
7k views

How do I get a .bat file to run in Task Scheduler at PC Startup?

Alright so I have been reading through the various answers on Super User for this question and no one has seemed to actually post a way of running a .bat file in Task Scheduler at PC startup. I would ...
0
votes
1answer
1k views

Creating Task With a Batch File - run task as soon as possible if missed

When creating a task with a batch file or command line, how do I specify the following option? "Run task as soon as possible after a scheduled start is missed " I know that this option exists via ...
0
votes
1answer
622 views

Scheduled Task and environment variables WITHOUT CMD /C

I need to run a task within Windows 2003 Task Scheduler however the command needs to access environment variables: vlc.exe http://62.196.56.141:8080 ...
3
votes
3answers
1k views

How to keep cmd open after task schedule

I am trying to create a really simple task that uses sdelete command as a scheduled task but when I run the task the CMD just flickers on and off and does not perform the task, so I want to see what ...
0
votes
1answer
306 views

Scheduled task returns 0xFF, but works ok

The batch file converts mpg to avi and runs on a schedule. Although the batch works ok from the schedule, Scheduled Task returns the 0xff message. Running manually, it displays an exit code of 0. I ...
0
votes
0answers
1k views

.bat runs from command line but not when scheduled

I've got a 1-line batch file that runs a pantaho etl job. It works fine when I run it from command line or gui, but the process doesn't even start when it's scheduled. I have the following settings: ...
1
vote
1answer
300 views

How to trigger the windows task scheduler event when my computer's CPU is overrun over 30 minutes?

my computer's OS is windows 7, I would like to do this: when my computer's CPU is overrun over 30 minutes, it will trigger task scheduler's event which is send a email to my email account. I don't ...
2
votes
2answers
45 views

Migrating from cmd to mac

For me it is quite easy to automate a jar file to run on a pc. java -jar "C:\...\mFilePath\myJar.jar" stick this into a cmd file, and schedule it. Now, migrating over to a mac, i am unsure how to ...
0
votes
1answer
54 views

How can I schedule an item to run? [duplicate]

Possible Duplicate: Schedule a job from the Windows command line? I'm working on a deployment script for a production machine. I do not have direct access to this machine. Is there a way ...
0
votes
2answers
2k views

Can non-administrators use the Windows AT (Scheduled Task) command?

Is it possible to make a new job in the Windows Task Scheduler using the Command Prompt when a normal user is logged in and they don't have administrator privileges? Is there a reliable way for all ...
2
votes
2answers
1k views

Windows command line “at” command to run 10 seconds from now

I want to run some command once, 10 seconds to 1 minute from now. Windows at command only receives absolute times, like 11:50. How can it be done? Can it be done with other command line means?
3
votes
1answer
95 views

How can at execute a command from the command line

How can I schedule a command using at without having to include the command in a distict file, neither from the mini at shell that reads from standard input? That is I want to execute the command ...
1
vote
1answer
2k views

How can I recognize a running batch file in task manager?

I run a few batch files as SYSTEM (as services) and they appear as cmd.exe in tasklist. Sometimes I need to terminate one of them but I cannot decide which cmd.exe to terminate. Plus; I run many ...
1
vote
1answer
1k views

Windows task scheduler not running batch file on network drive

I have a batch file that I'd like to run with the Task Scheduler. Running the batch file manually works fine. If the batch file resides on the C:\ drive, task scheduler runs it fine, but if the ...
5
votes
5answers
7k views

What is the command line to schedule a task to be executed once and soon?

I know there is the at and schtasks. But I couldn't figure out how to use them to execute a task soon and once. I have read about a soon command, but there isn't such command in my Windows version. I ...
3
votes
1answer
8k views

avoiding console window display when scheduled task runs batch file

I have a small batch file which xcopies some files from one folder to another which I've scheduled (via windows scheduled tasks) to run every 1 hour: @echo off xcopy c:\foo c:\bar /E /C /F /Y Since ...
1
vote
2answers
4k views

“at” command on Ubuntu

I want to list using the "at" command. I try this: pedro@Pedro-PC:~$ ls -l | at 10:27 warning: commands will be executed using /bin/sh job 5 at Tue Apr 20 10:27:00 2010 But doesn't work.
1
vote
2answers
2k views

How do you set the Scheduled Tasks “Run only if logged in” option from the command line?

I want to create some tasks with the "Run only if logged in" option set, but using a batch file, as you can in the user interface version of the schtasks.exe tool. I'm doing this so I don't have to ...
5
votes
4answers
9k views

Schedule Windows XP wallpaper change without additional apps

Ideally, I'd like to be able to do this through a batch file or VB script, so I can schedule it to run at different times of the day (dark wallpaper at night vs. light wallpaper at day). I am aware ...