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)

2
votes
1answer
767 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, ...
1
vote
1answer
58 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
48 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
371 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
231 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
268 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
2k 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
471 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 ...
1
vote
1answer
4k views

How to run an Access script using windows task scheduler

I have a VM running Windows Server 2008 R2 Enterprise and want to use the Task Scheduler to run an Access script. This script will do some stuff and then close. I've already written and tested the ...
1
vote
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
426 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
109 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
525 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
405 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
427 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 ...
1
vote
1answer
75 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
171 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
501 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 ...
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
762 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
131 views

Make PC wake up using task scheduler in Win 10 from sleep

In Win 10 Pro, I have used task scheduler to make my PC go to sleep (not hibernate) at night, which works fine. But I am trying to get my PC to wake itself up in the morning, but no luck here. I have ...
0
votes
1answer
146 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
13 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
136 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
84 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
208 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
1answer
768 views

Windows task scheduler not triggering a task on Windows 10

I have a task that is supposed to run a script I made, every 10 minutes, but it just doesn't seem to trigger it. In the task scheduler it says that next run time is in 10 minutes, but when the time ...
0
votes
1answer
249 views

How to use Task Scheduler to open an elevated Powershell window and run SFC and DISM in Windows 10

I have a scheduled Task where an Admin Command Prompt opens up and runs SFC and DISM. Here are the actions I entered in the "Action" tab of Task Scheduler: Program/script: %windir%\system32\cmd.exe ...
0
votes
1answer
134 views

What is CPU utilization and how is it calculated, how does OS scheduling work?

I studied x86_64 assembly language, somewhere in my studies I learned that the CPU cannot stop doing stuff, it must constantly run/execute something. Question 1) I am wondering then, how come there ...
0
votes
1answer
221 views

How to run a program normally with admin privilleges not as a background process using Task Scheduler?

I have looked through other questions in superuser and online and they all seem to suggest using Task Scheduler for what I want to do. Simply, I want to run my program at STARTUP or Boot with admin ...
0
votes
1answer
58 views

oracle AQ for scheduled jobs

We have a process that currently uses the Oracle DBMS_SCHEDULER to execute. The process runs every time the backend receives data from an external device. The Oracle scheduler is set up such that a ...
0
votes
1answer
61 views

Assign number values to certain letters in Excel or OpenOffice

I'd like like to know how to assign to some letters a number value for a monthly Hospital schedule. For example: N for night = 12h M for morning = 6h P for afternoon = 6h CS for day off = 6h R for ...
0
votes
1answer
98 views

Batch rename script to rename/replace square brackets

I am currently using Windows Server 2003 and would like to create a schedule task or command to run which would batch rename and replace all square brackets '[]' from file names and replace them with ...
0
votes
1answer
36 views

Why the tasks cannot be started?

I have defined scheduled task like it in a windows 2012 server which is running in a Virtual Box. I can start these tasks with schtasks /RUN /TN start-dop001 as a user 'dop001'. The task will ...
0
votes
1answer
52 views

Run Windows 7 Task CMD with SYSTEM user

I have a .cmd script I want to run every 5 minutes. if I add a Windows 7 Task for that it runs fine if I provide a real user. But I want to run it with the SYSTEM user. Doing this the script does ...
0
votes
1answer
1k views

Restart a computer at a given time with PowerShell

I'm looking for a way to restart a computer with PowerShell (Restart-Computer), at a given time (Example: 03:00AM). The PS-Script itself will run at a random time, when the user executes it, so it's ...
0
votes
1answer
23 views

OS X scan folder for new html files

I am looking for a way to scan a selected folder for new html files. The idea is to save html files on my mobile then have those files sync to my home system and then download (through a download ...
0
votes
1answer
150 views

How do I create a scheduled task to connect to another wifi connection

I’m running Windows 8.1 and would like to set up a scheduled task to connect to another known wifi connection and then run the required scripts that I need. I’m aware of making a scheduled task run ...
0
votes
1answer
114 views

Parent process details from the batch script - find out what called the batch script

We have a batch file which is calling php scipts. Php script load some data files to our system. I cannot understand what is starting that batch file in the middle of the night. I cannot find any ...
0
votes
1answer
57 views

How to schedule a task on secondary audio/video device connection/disconnection?

I want to schedule a windows task to run when a secondary output device (e.g., VGA monitor or HDMI A/V receiver is turned on or off) but I'm not sure which event should be used for this. I found ...
0
votes
1answer
1k views

Create Dependency Of Scheduled Task On One Another (Windows Task Schedular)

I want to schedule 4 task on windows task schedular. The conditions are 1. Task 1 should run every 30 mins; 2. Task 2 should run every 1 hour; 3. Task 3 should run every 2 hours; 4. Task 4 should ...
0
votes
1answer
65 views

Possible to schedule a task to browse to a webpage in an already-open browser?

In Windows, I'm trying to schedule a task that visits a predefined webpage every morning before I wake up, but doing so in any already-open browser (if there's one available). I jump between Pale ...
0
votes
1answer
494 views

schtasks in Windows how to select first day of month

I have the syntax how to define a Task for the last day of the month, but not fir the first day. Are there any Admin Gurus? schtasks /create /sc minute /mo LASTDAY /tn "Bild Copy" /tr "C:\copy.bat" ...
0
votes
1answer
96 views

Automatically start task when computer is locked in Windows 7 Home Edition

I found a tutorial on how to start a task automatically when my computer locks, which required that I use secpol.msc. Unfortunately, this utility is unavailable in Windows 7 Home edition. I went to ...