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
265 views

How Windows handles scheduled tasks when restarting computer?

I have an indefinitely running scheduled task that repeats every now and then and runs for few minutes. What happens when this task is running and I click restart or shutdown computer? Will Windows ...
1
vote
0answers
214 views

Running a scheduled task as a domain user - C:\Users\TEMP is created

I am trying to run a scheduled task that runs as a domain admin user (let's call it DOMAIN\installer). Part of this scheduled task runs automated installers for our network. One such installer I have ...
0
votes
2answers
104 views

Automatically add screen shot to scheduled message in Outlook/office prank?

In Outlook (at least recent versions) it is possible to schedule messages, that is, write a message and then set it to be sent one week from now or similar. I wonder if it is possible to schedule ...
0
votes
0answers
16 views

Start task according to bandwith speed?

How I can start task according to my downloading speed "Bandwidth". Lets say I want to start .bat file if my downloading speed didn't exceed 50 KB/s for more than 50 seconds. What tools should I have. ...
3
votes
1answer
377 views

Map a network drive to be used by a service

I am trying to map a network drive (the WD My Cloud HDD) to be used by a service (CrashPlan backup software) in Windows 8, something that I have achieved with this script: net use X: ...
4
votes
1answer
2k views

Unlock PC with Windows Task Scheduler

I need to set up a Scheduled Task to unlock Windows 7 PC at specific time. And second Task, to lock at other specific time. Is this possible by cmd.exe command, or I need to use some third party ...
0
votes
1answer
269 views

Windows task scheduler searching for the wrong file

I have a task that runs a .exe , It is a simple VB program that reads from a txt file, in the code I have this: My.Computer.FileSystem.OpenTextFileReader("test.txt") But when the scheduler runs ...
0
votes
0answers
47 views

Setting a Scheduled Task with Windows XP Home Edition

I wanted to use this command-line tool in a batch : SCHTASKS /Create /SC DAILY /TN "MySoftware" /TR mysoftware.exe /ST 02:00 to create a Scheduled Task on a client's computer (I wanted to use a ...
0
votes
2answers
164 views

How to schedule application termination in Windows 8.1?

I have an app.exe file which I want to be terminated every monday at 19:00. Is it possible to schedule tha task which terminates app.exe ?
0
votes
1answer
24 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
3answers
1k views

OSX - Schedule programs to start at night, close in morning

On Mac OSX, is there a program or method I could use to start an application (say Dropbox) at around 9pm at night and then close the application in the morning (say 9am). I've found Dropbox is making ...
1
vote
2answers
922 views

Windows pausing service instead of restarting it when batch file called from task scheduler

I have set up a task in Windows Task Scheduler to run at a specific time each day. The task simply executes a batch file I've created to restart my Windows service. This is the contents of that ...
0
votes
0answers
218 views

Create a Windows XP Scheduled Task to run at the logon of each user

On Windows Vista onwards it's possible to configure a scheduled task to run at the logon of every user by setting the schedule to "At Logon" and the user account to be a group of users (E.g., ...
0
votes
2answers
295 views

Synchronized script execution across multiple servers

I'm looking to run an automated task (a shell script) on multiple Ubuntu servers at the same time with as much timing accuracy as possible. Ideally, I'd like the time discrepancy between the start of ...
0
votes
1answer
168 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 ...
3
votes
2answers
13k views

Powershell script to list scheduled tasks on remote systems

I want to write a PowerShell script that lists all Scheduled Tasks on remote systems, and includes the user account which will be used to run each task. The local system is running Windows 7, with ...
2
votes
1answer
1k views

Adding attachment option to scheduled email vba script

I am learning VBA, but for the time being I am not that good and I found this macro: Scheduled and recurring email in Outlook? It sends an email thanks to a scheduled appointment set in the ...
1
vote
1answer
211 views

How to capture a windows pop-up box event in task manager or by other method?

The pop-up box event is a windows error notification with a 'OK' click box. I want to auto-click the 'OK' or suppress the appearance of the pop-up box. But how to capture this event? I can't see ...
0
votes
1answer
161 views

Task Scheduler - Task Keeps Becoming Disabled

I have a task that I entered into Windows Task Scheduler (I have Windows 8.1) set to run automatically on system log-on and to repeat every 5 minutes indefinitely; however, after every time it runs, ...
2
votes
0answers
602 views

connect with vpnclient.exe from scheduled task

I have a set of scheduled tasks I've inherited, which require a vpn connection. Right now they only work when a user is logged in interactively. When I launch the connection from a script ...
0
votes
0answers
105 views

Scheduled task doesnt work Windows 8

I have this batch that makes a scheduled task calling to a powershell script and i cant make it run in windows 8. It works perfectly on windows 7 but when i use it in windows 8 it keep stuck. My ...
0
votes
1answer
1k views

Unable to defragment win7 laptop

I have a Windows 7 laptop that I have been unable to defragment for the last several months. When I try to invoke the defragmenter from the command line it says "The dirty bit is set on this volume". ...
0
votes
1answer
70 views

Script runs on Linux machine startup, retry if fails

I want to set up a script that runs after my Linux starts up, and keep retrying (at an interval, say 1 minute) if fails. How do I do so? Thanks!
0
votes
1answer
118 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
0answers
71 views

Windows 7 mountvol and task scheduler

In Windows 7, I have a Task-Scheduler job which run Backup4All, to do a backup of my data. It has provision to run a "pre"-backup batch file, and a "post"-backup batch file, which I have taken ...
1
vote
2answers
863 views

How to find out the reason why a scheduled task hang?

I have scheduled quite a number of tasks in my Windows 7, doing a variety of cron jobs on my machines. I am perfectly sure that these tasks, when run on their own, won't hang. But the problem is ...
1
vote
0answers
341 views

.bat script doesn't work by using window scheduler

i created a .bat script to perform daily folder compression. it is working fine when i double click the .bat file. However, it doesnt work when i include it in window scheduler. Below is the script: ...
0
votes
1answer
386 views

concurrent scheduled jobs and ora-27477

Need: To have Oracle kick off a shell script that performs processing on tables and data in the Oracle database. The script is instantiated by specific activity from web clients. Issue: Web clients ...
0
votes
1answer
976 views

Can VLC player schedule music playing

I would like to just be able to play music at a certain time, while my computer is on. Let's say I want to make a playlist start in 2 hours. I've seen that VLC can schedule certain stuff, but I have ...
0
votes
0answers
268 views

Automatic Maintenance reports “Automatic Maintenance was delayed.”

After manually triggering the Automatic Maintenance task in Windows 8's Action Center, it seemingly ran to completion. However, the Run maintenance task shows up with an orange vertical bar to the ...
1
vote
0answers
233 views

XPath event filter working in Event Viewer but not in Task Scheduler

I'm trying to trigger a scheduled task with this XML: <QueryList> <Query Id="0" Path="Security"> <Select Path="Security"> *[EventData[Data[@Name='TargetInfo']='S']] ...
0
votes
1answer
65 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 ...
1
vote
2answers
1k views

Edit already existing Scheduled Task through GPO

I have been searching for a while but not getting much out of my trusty friend Google at the moment, so wondering if someone else out there might be able to share some wisdom. By default, Windows has ...
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
767 views

Windows scheduled task - .bat runs forever

I've a scheduled task to clean up folders on a hard drive automatically; it removes files older than a certain amount of days. Basically it runs a .bat file full of lines that looks like this: ...
1
vote
2answers
2k views

Should a scheduled task remain in the “Running” state?

I'm new to using the task scheduler and I'm using it to run a batch file provided online when the computer boots. I r-clicked it and told it to run. It did and all is fine, but the Status of the task ...
0
votes
0answers
207 views

How can I schedule restart of my network connection?

I schedule my PC to turn on an hour before I arrive work so that it can run tasks while I'm on my way. However, one time, there was a task which needs internet connection but unknowingly, the wifi ...
0
votes
1answer
73 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 ...
3
votes
2answers
592 views

How to prevent scheduled tasks from running as soon as computer wakes up?

Example: I have a task that is scheduled for 6 am every day (only if I'm logged on). If my computer sleeps/hibernates all night until 9am, upon waking up the task will then run even though it missed ...
4
votes
2answers
1k views

Task Scheduler program writes to literal folder named %LOCALAPPDATA%

I have a .NET executable (that I created) which uses Microsoft's Active Directory Service Interfaces (via System.DirectoryServices.AccountManagement) to do LDAP queries. Internally to ADSI, it ...
5
votes
2answers
79 views

Power Management: Have Win 7 box turn on and off at a scheduled time

I sometimes need to run a batch job on my Win 7 Pro workstation at a fixed time. I use the scheduler to make sure the task runs then. But, I need to disable sleep beforehand, which wastes lots of ...
1
vote
0answers
116 views

Task scheduler not executing argument

I am trying to run a program called the renamer that helps to move and rename files for my XBMC setup as a scheduled task (Win7 x64 HyperV VM on Domain). My current process is to run the program ...
0
votes
3answers
111 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
26 views

Are there two seperated schedulers in major operating systems, one for processes and one for their threads?

Let's assume a process is given the CPU on a single-core CPU system by the scheduler and let's assume this process has 10 threads. Who decides which of the ten threads gets the CPU? In other words, ...
3
votes
1answer
12k views

Schedule a task with admin privileges without a user prompt in windows 7

In windows 7, I'd like to schedule a program to be run with administrative privileges, without having the user need to respond to a prompt (which requests elevated privileges) every time the scheduled ...
0
votes
0answers
1k 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
2answers
410 views

Shutdown/deallocate VM doesn't work in scheduled task

I created a scheduled task to shuwdown/deallocate itself (it's a VM on Azure) with Powershell. The PowerShell script is: Stop-AzureVM -Name "myvm" -ServiceName "myservice" -Force If the PowerShell ...
0
votes
1answer
2k views

Modify a scheduled task with PowerShell

How can I modify the action step in a scheduled task? We have hundreds of scheduled tasks that point to a particular path and run a PowerShell script. How can we find those tasks and then change the ...
-1
votes
1answer
1k views

Prevent a Task Scheduler to run at Windows Startup [duplicate]

To test the computer hardware, I have used Task Scheduler in Windows Server 2008 R2 to automatic reboot the computer direct after startup. I have now done many reboots to verify the hardware, and ...
0
votes
1answer
74 views

Running and stopping a task on Windows 7

I need to execute a batch file that run every minute for 1 minute. At the end of 1 minute it would execute another batch file which runs for 30 seconds. It then repeats running the first batch file ...