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)

1
vote
1answer
2k views

Windows 7 Defrag scheduled seems did not work

I use windows 7 from the beginning, so the first time when I looked into the Windows 7 Disk Defragment program and I saw the Scheduled Defrag I supposed that it worked and I did not check if it worked ...
1
vote
3answers
12k views

Why does my scheduled task fail with error (0x4)

I have a scheduled task that is supposed to run a batch file. The batch files runs file when called on it's own, but does not run when wrapped in a scheduled task. Here is what the dialog looks like: ...
1
vote
0answers
8 views

Not seeing “Accepting Task” popup when accepting task requests

When a user sends a task request, the recipient clicks "accept" and a popup entitled "Accepting Task" should appear giving them the option to either "edit the response before sending" or "send the ...
1
vote
1answer
2k 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 ...
2
votes
2answers
46 views

Using computer (VLC) as an alarm clock

I found a tutorial for using Task Scheduler to use VLC on my computer as an alarm clock. Essentially, it works as follows: Computer boots automatically in the morning 5 minutes before alarm time Use ...
1
vote
3answers
10k views

How to convert a scheduled task from Xp to Windows 7

I have a backup of some .job files (i.e, scheduled tasks) from my old computer. I see that windows 7 does not support job files instead they accept xml files. So, i would like to know if there is a ...
0
votes
1answer
28 views

Automating a folder backup task (zip, move, then rename according to naming convention)

I am attempting to automate the backup of a folder on a Windows 2003 R2 server (currently a manual process). There are three components to this task: 1) Generate a zip file of the following folder ...
0
votes
2answers
9k views

Task Scheduler is not executing the program

Problem: I have a .bat to send me an email with an attachment. When I execute it in cmd or in Windows Explorer, it works and I receive my email within 3-5 sec. I scheduled a task for its execution ...
10
votes
5answers
20k views

How can I open a URL on a schedule in the default browser?

I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis. I know that if I was writing .Net code to do this, I could simply do something ...
3
votes
2answers
271 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 ...
1
vote
0answers
23 views

Windows 7 event for plugging in USB keyboard

I would like to use task scheduler to toggle num lock as I plug or unplug my keyboard from my laptop. I use it equally with and without the external keyboard, so both the default settings are equally ...
0
votes
1answer
24 views

Infinite loop of cron jobs with intermediate output from each job

I have a program that outputs stuff to standard output. I am using cron to schedule it which is fine because I am collecting the stuff that it prints outs via email and do some statistical work on ...
0
votes
0answers
20 views

Robocopy won't work with Task Sheduler in Win7

I need to copy file from server to local disk cca every 5 minutes. Created batch file work fine but from Task scheduler it does nothing. The Batch file looks like this: ...
0
votes
0answers
20 views

Robocopy using souring source and destination pc as shared folders

Scenario: I have 3 pc's on the network. Lets name it A, B and C PC A - used to run robocopy. PC B - has shared folders on the network - source. PC C - has folders onto which files from B are ...
1
vote
2answers
11k views

Windows scheduled tasks fail with 0x1, don't log errors

I have three Python scripts running overnight as scheduled tasks on a Windows Server 2008 VM. I can run them manually with no problems. But when I look at the Task Scheduler each morning, the first ...
1
vote
2answers
6k views

Windows task scheduler won't run file on non-system drive

I have an executable that needs to be run on an E:/ drive, Windows Server 2012 is installed on the C:/ drive. I've created a scheduled task that has the full path to the target executable ...
0
votes
0answers
37 views

NGEN is eating up all my disk space

For a couple months now I've woken up every couple days to find my C:\ drive out of space. After some digging I found my C:\Windows\Temp folder was full of 3MB log files -- ~40GB worth, numbering in ...
0
votes
1answer
21 views

Does Task Sheduler trigger fire for each time the task is started?

I have a task with a trigger that says "After triggered, repeat every 5 minutes indefinitely." I had set the task up to run once when it was created and then it repeated every 5 minutes as expected. ...
0
votes
0answers
20 views

How to setup an automatic git commit?

I have a git repository on my hard drive. At a predefined time, such as 11:59 PM every day, I want an automated commit to be made with the current state of the repository (all modified files checked, ...
8
votes
5answers
36k views

How to pass an argument to a Windows Scheduled Task with spaces in it

I need to set up a Windows Scheduled Task. It accepts 1 parameter/argument which is a path and can contain spaces. My Scheduled task does not work - it "breaks" the parameter up at the first space. ...
1
vote
1answer
60 views

Why doesn't my Python script save the file when I use Task Scheduler?

I have a Python script that uses csv.writer to create a csv file. This works fine when I run it from the command line, but no file is created when I run the script using Windows Task Scheduler. The ...
0
votes
0answers
50 views

Schedule task to run monthly with powershell

I'm trying to create a scheduled task with powershell, the task is supposed to run the 10th every month, but I can't figure out how to use New-ScheduledTaskTrigger with a monthly interval. $t4Name = ...
0
votes
0answers
32 views

schtasks: “ERROR: Access is denied.” when installing xml file

I'm attempting to add a scheduled task from an xml file: schtasks /Create /S myhostname /RU "WORKGROUP\mylogin" /RP "mysecret" /XML F:\path\to\TaskName.xml /TN "TaskName" Which results in: Error: ...
1
vote
1answer
116 views

The selected task “{0}” no longer exists. To see the current tasks, click Refresh

When I start my task scheduler on Windows 7 I get a dialog with the following error: The selected task "{0}" no longer exists. To see the current tasks, click Refresh Also there's a UUID, ...
1
vote
2answers
39 views

Obtain an alert when a Windows Task Scheduler Task has completed

Is there any way to trigger an action when the Task Scheduler has completed a task? Ideally the action would be an e-mail. We have a situation where an ordered number of tasks export daily backups to ...
0
votes
0answers
22 views

windows 2003 task scheduler using session 0 instead of session 1

I have a Scheduled Task running on my Windows 2003 Server. I am logged on as Administrator (using RDP), and the task was created and has permissions as per this user. However, every time it runs, it ...
1
vote
1answer
28 views

“Simulate” trigger for Windows Task Scheduler

I have set task with this trigger: At system start up - After triggered, repeat every 5 minutes indefinitely. But I can´t restart OS, I need run this task now and I need repeat it for 5 minutes. This ...
1
vote
2answers
106 views

How can I force a scheduled .bat job to run in the foreground?

I have a simple .bat that runs a PHP script at the same time every day. @echo ON php C:\path\to\script.php argument pause It runs fine when I double-click the .bat file. And I set up a scheduled ...
0
votes
1answer
31 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
0answers
16 views

Setting a CRON to be run on every 1st and the 3rd Monday

I need to set up a CRON job to be scheduled in every 1st and the 3rd Monday of every Month. I'm using the Plesk control panel for setting these as follows. Currently CRON runs successfully, ...
1
vote
1answer
34 views

how to set task scheduler to run disk cleanup and automatically respond to popup window using 'Enter' key

I'd like to schedule a task running windows application 'Disk Cleanup', but how to automatically respond to the popup windows using 'Enter' key?
17
votes
3answers
22k views

Windows 7 Task Scheduler doesn't list my custom task(s)

I created a custom task from another application (Peachtree), but it never showed up in the Active Tasks list. So, I created it manually from within the Task Scheduler, but the task still hasn't ...
0
votes
2answers
274 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 ...
1
vote
1answer
46 views

How can I make Windows XP automatically logoff 2 hours after logging in?

I have a Windows XP netbook and it is protected with a password. I want to be able to control the time other people spend on the computer, so whenever anyone logs in I want the computer to ...
2
votes
1answer
244 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, ...
0
votes
1answer
95 views

Auto maintanence for Windows 8 will not stay disabled

It is imperative that I disable auto maintenance and do it manually because I need access to my PC at odd hours. I thought I had disabled it by going to Schedule Task > Task Scheduler > ...
2
votes
5answers
2k views

How to automatically move a file to another PC on the network?

Here is what I am after. I have 2 PCs connected on a network and one of them prints out an Excel spreadsheet every night to a specific folder. Is it possible to use a batch script to copy that file ...
0
votes
1answer
25 views

Can I Rename the Title of Command Windows from the Task Scheduler

We have several command line apps that are launched from the Task Scheduler. They all have the title 'taskeng.exe'. Is there a way to rename the windows, to make them easier to identify? We're ...
0
votes
0answers
108 views

How can I diagnose why my launchd task isn't running on schedule?

I've read the launchd.plist man page, Is launchd supposed to pick up "missed" events?, and launchd seems ignore StartCalendarInterval on Yosemite but none of those have allowed me to ...
0
votes
1answer
16 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 ...
3
votes
1answer
153 views

Windows Task Scheduler Chart?

Does anyone know if there is any utility/tool that can make a chart of all tasks in Windows Task Scheduler based on time and date, so I will know if there is any overlap at certain point of time ...
3
votes
1answer
66 views

Slurm jobs are pending, but resources are available

I use SLURM as a job scheduler and queue for a small cluster (single node with 64 cores). To submit a batch job I use: > sbatch run.sh Where run.sh looks like: #! /bin/bash #SBATCH --ntasks=4 ...
2
votes
1answer
7k views

How to import a scheduled task automatically from an XML file?

I have created a scheduled task in Windows 7. The task is running perfectly well on my computer. I have also exported the task to an XML file and want to create the same task on another computer ...
0
votes
0answers
51 views

Task Schedule excel file with ODBC/Oracle connection

I am having problem running an excel file with ODBC connection for Oracle to run via Windows-7 Task Scheduler. It will just say running. What the excle file does. After I open the file, it will ...
0
votes
0answers
51 views

Running mode from the Windows 8.1 task scheduler

I use a Lenovo Y50-70 laptop and it has a known issue that resets the keyboard's repeat rate to the minimum after resuming from standby. A fix was posted here already, but I would like to run it from ...
0
votes
0answers
16 views

Disconnect keyboard/mouse in Windows 7/8.1 as trigger for running a programm

I'm using a KM (keyboard/mouse)-switch toggling between Desktop and Laptop Windows (7 and 8.1) machines. Both are connected via Displayport to the same UHD monitor which is able to select the active ...
1
vote
1answer
48 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 ...
0
votes
0answers
36 views

Computer does not stay awake after scheduled task

I have a scheduled task that wakes up the computer to run a batch file. However the computer turns back off after some time. I have my computer set to (never sleep) so after waking up from the task it ...
0
votes
0answers
24 views

Why doesn't my Windows 7 task show up in Task Scheduler?

Windows 7 Pro 64 bit: I added new task, to run .bat every night, by doing steps below. But new task doesn't show up in Task Scheduler's Task Status or Active Tasks. I tried adding it again, but it ...