A scheduled task is a job scheduled to run at a specific time and frequency and run a specific command on the operational system.

learn more… | top users | synonyms (1)

4
votes
1answer
217 views

emacs - repeat task max number of times

I need to schedule a task such that it repeats everyday, for a max number of days. If I don't do the task one day, the tasks should accrue, and not simply disappear. For instance, I need to finish a ...
2
votes
1answer
1k views

batch file runs fine manually, but line that launches exe fails when batch run in task scheduler

I have a batch file (below) that works perfectly when run, however, when I set up the bat file in the task scheduler it ain't working right. The task scheduler does indeed run the task successfully, ...
2
votes
1answer
1k views

“/fullscreen” argument does not work when launching Windows Media Player as part of a scheduled task with wake from sleep

I recently asked a question about using Windows 7 Task Scheduler to wake a computer from Sleep mode and play a video, Windows Task Scheduler to wake from sleep and play a video, and I got it to work, ...
1
vote
1answer
43 views

Different result from command line prog when run by Task Scheduler

I call the following program from within another command line prog... :: NT_getdate.cmd return yumd-date in var='ymd' @echo on setlocal for /F "tokens=2,3,4 delims=/ " %%g in ('echo.^|date /t') do ...
1
vote
1answer
118 views

Stopping a scheduled task with a batch file action doesn't stop the program running in the batch file

I have several scheduled tasks that each execute a (different) batch file. Each batch file calls into the same program, with with separate command line arguments. If I Stop a task while it's running, ...
1
vote
1answer
89 views

Windows 10 does not wake on schedule

I recently upgraded a Win7 media server to Windows 10 pro. I have a scheduled task to wake the server at a specified time; however it no longer works in Windows 10. It worked perfectly fine in 7. ...
1
vote
1answer
132 views

Time Schedule for Internet access at router level based on MAC Address

Complete newbie here. I have a Huawei HG658c (Standard Vodafone Ireland) router and I am looking to set a Time Schedule for internet access to certain devices (Kids) on my network, also I currently ...
1
vote
1answer
827 views

Can't wake up Windows 10 machine with task scheduler

I have successfully set up sleep and wake up tasks for Windows 7 that have functioned correctly for more than a month. After a upgrade to Windows 10 the wake up task has ceased working. I have tried ...
1
vote
1answer
81 views

Controlling Windows 10 update time

I am connected to an Internet connection that is free of charge from 1 o'clock to 7 in the morning and want to schedule this in windows 10. it means I want to set task scheduler to set my WiFi metered ...
1
vote
1answer
266 views

Disallow task scheduler to start computer

My computer started itself at exactly 9:41pm the last 3 days. And I had the same thing happening at 3:00am in the past. It was always some stupid scheduled task. The fact that a scheduled task can ...
1
vote
1answer
628 views

How to target an event by the process name as well as the ID?

I have managed to create a scheduled task that will be triggered by an event ID. For example, I have a task that will run winver.exe whenever event ID 4688 is logged. So if I run notepad.exe from Run ...
1
vote
1answer
4k views

Run a program before Logoff and wait for finish

When I want to run a program (.exe \ .bat) before Windows 7 Home Premium Logoff \ Restart I use the Task Scheduler and I set a custom event: Log: System, Source: Winlogon, Event ID: 7002 \ 4634 \ 4647 ...
1
vote
1answer
635 views

WINSCP: task scheduler not working but is working when executed from winscp console?

I have been trying to run a task scheduler named "Backup" that downloads the specified file from the FTP server to my local directory. When I executed the command manually from the winscp console it ...
1
vote
1answer
2k views

How can I run a Task Scheduler job without being on administrator account?

I have read that the Windows account logged onto the computer that is running tasks from the Windows Task Scheduler needs to have administrator rights. I used the administrator account to create the ...
1
vote
1answer
1k 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 --sout=#std{access=file,mux=raw,dst="C:\temp\...
1
vote
1answer
548 views

Windows run job by id right 'now'

Can one run a scheduled command by id 'right now' ? I'm not sure if it is even possible on windows, Atleast I haven't found anything yet
1
vote
1answer
2k views

“VirtualBox - Critical Error” When VMs are Runned From Scheduled Tasks

I have 2 VMs running with VirtualBox under a Windows 2003 Server R2 Standard x64 Edition, both are started with scheduled tasks when server starts. VMs: Debian x64 Windows XP Professional Both ...
1
vote
1answer
112 views

Running Network-Reliant Processes on Startup

I'm in charge of deploying and modifying a bit of in-house software that is meant to run on end-user workstations, which run either Windows 7 or XP SP3. The goal is to maximize the amount of time the ...
1
vote
1answer
573 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 ...
1
vote
1answer
436 views

No logfile when combining Robocopy with Task Scheduler

I am trying to create a .bat file with Robocopy and schedule it using Task Scheduler in Windows 7. The issue that I am having is with the creation of the log file. When I click on the .bat file, a log ...
1
vote
1answer
473 views

Create Shedule Task for execute Powershell script immediately using Powershell

I need create schedule task programmatically using Powershell (PS remoting). My task executes a powershell script (and other cases a script cmd) immediately. $powershellcmd = (get-command powershell....
1
vote
1answer
79 views

Can a Windows scheduled task update itself and how would I do it?

Can a Windows scheduled task update itself and how would I do it? I'm using Windows Server 2008. I've seen some Powershell scripts that create tasks from xml; would this be the right approach?
1
vote
1answer
174 views

Scheduled logoff scripts

I wondered if it was possible to launch a logoff script only, for example, every friday. Can this task be scheduled in Active Directory or must I programm a scripts that adds and remove it every ...
1
vote
1answer
510 views

Windows Server Scheduled Tasks not running even though it says it is

If I run the batch file manually it works, but when the scheduled tasks runs it (which runs every ten minutes all day long), it never runs but it says it does, there is also no errors Here is the ...
1
vote
1answer
1k views

Windows XP scheduled task not running at appointed time and triggering on login

I have a scheduled defrag task on my Windows XP machine to wake up the computer and run at 3:00am every day. Then I have two other scheduled tasks, one to reboot the machine after the Defrag at 3:45am,...
1
vote
1answer
2k 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 ...
1
vote
1answer
1k views

Windows Server 2008 - Scheduled Task Multiple Users

I am setting up a scheduled task on a Windows 2008 server to run a utility. I am able to do this without a problem with my user account, but no one else can access it when they login. I need to create ...
1
vote
1answer
1k views

Using schtasks in interactive mode

How can I run schtasks.exe in interactive mode? Like "at.... /interactive"? I run it on Windows XP so there isn't the /IT option.
1
vote
1answer
812 views

Windows 7: Using schtasks to run on a WinServer2003

I need to run several scheduled tasks remotely on a WinServer2003 machine. When my OS was WinXP-32 it worked quite fine with a command like "schtasks /run /s \\xxx.xxx.xxx.xxx /tn ScheduledTaskName". ...
0
votes
1answer
63 views

Display Popup from script executed as System user

I've a scheduled task, executed by System user. It's can sometimes display a popup to interacts with the user. This work fine if I launch the script myself, but not displaying when launched by the ...
0
votes
1answer
24 views

How to launch/close a program when launching/closing another program using the Windows Task Scheduler?

I have a Steam game which I launch in multiple ways such as: Clicking the play button on the Steam Library page Playing the game in Steam Big Picture Mode Manually launching the .exe Other batch ...
0
votes
1answer
33 views

How can I prevent multiple different task from task scheduler in Windows

Suppose I have multiple different task with different time based trigger, but I want to run only one task among them which trigger is same in specific scenario. For example I have 10 different tasks. ...
0
votes
1answer
60 views

I want to schedule a batch file to execute a command and redirect that output a text file

I want to schedule a batch file to execute a command and redirect that output a text file. This is my current solution: Del \\10.112.232.10\Netbackup_Softwares\Personal\Bharath\VM_Query\switch.txt D:...
0
votes
1answer
103 views

Having trouble with windows 10 task scheduler

I have recently upgraded my windows 8.1 to 10, And now each time I leave my laptop on its own after a few minutes the CPU and Disk usage both go really up due to scheduled tasks. I tried disabling ...
0
votes
1answer
115 views

Sending e-mail via powershell (Net.Mail.SmtpClient or Send-Mailmessage) works, but not when invoked by Task Scheduler

I have done a script to check UPS status, log it and send notification e-mail. Script works fine if run manually, but when executed via Task Scheduler, it does not send the e-mail. It does everything ...
0
votes
1answer
206 views

Set up Task Scheduler tasks under Local Account in Windows 10 - incorrect password

I have a PC running Windows 10. I used to use a local account to log on. The local account is a member of the local Administrators group. Recently I changed to use the Microsoft account authentication ...
0
votes
1answer
177 views

windows schedule command to run regularly

I apologize if this has been covered elsewhere or even in the MS docs, but I haven't found my answer yet. I have a program on my PATH, lets call it myprog.exe. All I want to do is configure my ...
0
votes
1answer
29 views

Mercurial pull across network drive in powershell script from scheduled task

So I previously had this question: Mapped Drive inaccessible from Windows Scheduled task in which I discovered how to get access to a drive a python script I was running needed to put files in. I ...
0
votes
1answer
180 views

Schedule Shutdown when visual studio completes building a project

I used task scheduler for shutdown after a fix time but I want to know how to create a task in windown 7 so that it will shut down system when visual studio will complete building a project.
0
votes
1answer
323 views

CMD option to exit OneDrive

I am running OneDrive sync by creating scheduled tasks in Windows Task Scheduler. I have two tasks, one to start OneDrive's desktop app and the other kills it. I am currently using taskkill to get ...
0
votes
1answer
871 views

How can I do an Automatic Shut Down after a Windows Defender Virus Scan? Would the Task Scheduler be involved?

I was wondering how I could possibly have my computer automatically shut itself down when Windows Defender is done doing a virus scan. I usually do it at night because I have a Slow CPU and a lot of ...
0
votes
0answers
328 views

Scheduled Task in Server 2008 standard wont run automatically

I have a simple program that I want to run automatically(in this case at 7:30am). I have created the task and if I run it manually, right click the task and select Run, it works fine. When the task ...
0
votes
0answers
351 views

making windows scheduler run once a minute

So the task is setup to run "every 1 minute(s) from 12:00AM for 1 hour(s) every day, starting 4/15/2013". The last run time is 2:51:15PM and the current time is 3:00PM. So why isn't the task been ran ...
0
votes
0answers
192 views

Label taskeng.exe console windows

At my job, we use a lot of console applications to run various processes. We kick them off from the Task Scheduler on a regular and overlapping basis - at any time there could be anywhere from 3 to ...
0
votes
0answers
109 views

Using sleep mode to trigger hybernate mode

I wanted to set up my computer so that if i put it in sleep for more then 20 min, it will go into hibernate mode automatically. My hope was to use some sort of event trigger on window's Event ...
0
votes
0answers
372 views

Windows Server 2008 SP2 Task Scheduler problems

I have a series of scheduled tasks that have been running fine until about 2 months ago. Now they seem to run sometimes, at the scheduled time, but not consistently. The tasks will run if I reboot ...
0
votes
0answers
333 views

Windows 7 Task Scheduler Run On Idle End

I want to run a task every time I sit down at my computer, so that I will effectively run the task once when the computer ceases to be idle. I can't see a way to do this. Any suggestions?
0
votes
0answers
243 views

Show the %username% for the logged in user in an elevated command prompt instead of elevated users %username%?

On a Windows Vista Business machine, I have Windows Task Scheduler task set to run everytime any user logs in. The task runs as a certain elevated admin user because the script is being executed from ...
0
votes
0answers
743 views

Problem with running batch file as scheduled task

I am trying to setup my rsync script to run automatically. It uses a key file for authetnication so there is no issue of missin ginput or something. I have user a. In user a's profile live a batch ...
-1
votes
0answers
14 views

Error scheduling job in Windows 2012 that ftp's files

I have a job that runs fine when I run it manually. It basically creates text files and ftp's them to the remote server. But when I schedule the job in Win Task Scheduler it creates the text file but ...