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)

3
votes
3answers
3k 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 ...
3
votes
3answers
4k views

Scheduled Tasks Properties in PowerShell?

I am not sure how to do this in PowerShell, but I dont think it is supported. For example: $tasks = schtasks /query Will store all the tasks into the variable $tasks Example output: Folder: \...
3
votes
2answers
965 views

How to restrict use of a computer?

Suppose that some person is insomniac because of a bad habit of chatting on the IRC every night until 3AM. That completely ruins this person's life because he is unable to wake up on time to attend ...
3
votes
1answer
569 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 ...
3
votes
1answer
399 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: \\WDMYCLOUD\...
3
votes
1answer
2k 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 ...
3
votes
2answers
22k views

Remotely managing Scheduled Tasks on another computer: Access Denied

I need to remotely create new scheduled tasks from a Windows 7 computer in my company (which according to this Microsoft TechNet article I should be able to do. http://technet.microsoft.com/en-us/...
3
votes
1answer
119 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 ...
3
votes
1answer
135 views

How do I make a scheduled action in Windows XP?

I need to run MyProg.exe every 5 minutes. How do I do it?
3
votes
2answers
14k views

How can Windows 7 be set to sleep at 8pm and wake at 8am every day?

I'm trying to figure out how to get Windows 7 to sleep at 8pm and wake at 8am on a daily basis. I'm looking at Windows' services and there is a Shutdown.exe that can run, but it only seems to have a /...
3
votes
3answers
4k views

How to run scheduled task when user logs on via remote desktop?

I want to run an application every time I log on to a remote machine with windows XP's remote-desktop. I set up a schedule using XP's scheduled tasks and the start up modiier ONLOGON (and also tried ...
3
votes
1answer
526 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
517 views

How to wait for networking before runinng a task at startup on Windows 7

Is it possible to have a task wait for networking to be ready before running? The only networking related option that I see is "Start only if the following network connection is available", which ...
3
votes
1answer
6k 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 ...
3
votes
1answer
1k views

Scheduling a task before sleep in Windows 7 and hold off the sleep event until task runs

Note that this is different than the other questions I found (I did search), like: Is there any way to execute something when closing the laptop's lid? I used the same trick of scheduling a task ...
3
votes
3answers
14k 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 ...
3
votes
1answer
256 views

After scheduled Microsoft Security Essentials scan finishes, whole system is slow

I have scheduled Microsoft Security Essentials (on Windows 7) to scan my whole hard drive every night at 2 a.m. When I start using my computer in the morning, the scan is complete, but the whole ...
3
votes
1answer
2k views

Schedule powershell script with admin priviliges

I want to schedule a powershell script to run on my windows 7 system everyday with admin priviliges. How do I do so?
3
votes
1answer
901 views

AutoHotkey cannot launch ClickOnce apps when launched at startup using Task Scheduler

I love AutoHotkey (AHK) and use it to launch all of my apps using AHK Command Picker. In order to get around restrictions put in place by the Windows 8 UAC I require my AHK scripts to run as ...
3
votes
1answer
898 views

Scheduling a Powershell script

I have a powershell script that I want to run as a schedule job. The script runs great when I execute it manually, but when I run the schedule task, the job fails with the message "could not start" ...
3
votes
2answers
6k views

Task Scheduler: Run whether user is logged in or not: not working

I have a Task scheduled to run in Windows server 2008 (start up notepad). It seems to work fine when "Run whether user is logged in or not" is not selected. however when I select it the the task no ...
3
votes
0answers
47 views

Taking screenshots when I'm not logged in

I'm looking to take several screenshots from an application at a certain time of the day (let's say 3 o'clock, when I'm certainly not logged in) . Currently I'm using NirCmd to take the screenshots, ...
3
votes
2answers
641 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 ...
3
votes
0answers
794 views

Is there a way to schedule tasks in windows specifying a specific time zone?

I need to schedule several tasks to run, where each needs to run at a specific local time in a different city. For example, one job might need to run at 19:00 New York City, and another needs to run ...
3
votes
0answers
13k 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 ...
3
votes
3answers
5k views

Scheduled task with custom weekly schedule does not run

I have set up a new task in Task Scheduler (on Windows 8) to run a batch file and set the task to run each week day at 7:40 AM. The task never runs (automatically). Next Run Time shows the correct ...
2
votes
5answers
5k 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 ...
2
votes
1answer
15k views

Run task scheduler task on demand from limited user account in windows 7

My goal is to for a limited used to be able to run a netsh script that requires administrative privileges: netsh wlan stop hostednetwork netsh wlan start hostednetwork From my administrative ...
2
votes
3answers
1k views

Windows XP - Run task every minute - minimized?

My company seems to be hit by a virus that calls shutdown -r on all workstations. Until IT figures it out, I want to: run a console program (shutdown-a) every minute without it flashing a cmd.exe ...
2
votes
1answer
4k views

Run a scheduled task after a Windows service is started

I want to run a scheduled task every time after a given service is started. I have looked for a way to set a trigger on a service start, so that the service in question may be started automatically ...
2
votes
1answer
4k views

What is the difference between /U and /RU in SchTasks?

SchTasks help describes both /U and /RU as "A value that specifies the user context under which the task runs" What is the difference, then, between /U and /RU ? What am I missing?
2
votes
3answers
2k views

How to stop Windows 10 from autostarting apps? [duplicate]

Windows 10 has been autostarting calculator, weather, movies & tv, store, xbox, and photos usually after login. It isn't in the task manager autostart list or in the task scheduler. Any help is ...
2
votes
2answers
358 views

List of arguments for scheduled task

When you edit the action of a Scheduled Task, there's the option of "Add arguments". The software I use right now has the argument -cp .\Acquisition.Jar et.EPC I've been googling for a while and ...
2
votes
2answers
7k views

Schedule Computer to Shutdown and Turn on

I have a small computer running Windows Server 2012 for storing files for remote access during the day. At night, the machine is not needed. Ideally, I'd like the machine to do the following: ...
2
votes
2answers
2k 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?
2
votes
2answers
3k views

Windows 7 Task Scheduler won't run Matlab script

I am trying to run a Matlab script every day using the Windows Task Scheduler. I am using Matlab R2011b 64-bit, and Windows 7. According to Matlab, a script myfile.m can be run from the command line ...
2
votes
3answers
10k views

Scheduled task running as SYSTEM - execute something as current user?

I have a scheduled task which runs a batch file which does some stuff. I want the batch file to kick off another batch file which runs in user space; i.e. %username% == the currently logged-in user, ...
2
votes
4answers
29k views

Automatically delete old files from a specified folder?

I want to set up an automatic task that will automatically delete files older than X days from a specific folder. I'd prefer to do it without having to install any 3rd party software, but I'll be ok ...
2
votes
4answers
2k views

Skype calls at scheduled times to my mobile phone

I want to automate Skype to call my mobile phone at scheduled times. Sometimes when I'm working with very complicated (business) clients, I would like an escape plan if the meeting goes over an ...
2
votes
2answers
9k views

ERROR 0x8007007A when trying to schedule a task

I am getting the error "The data area passed to a system call is too small. (Exception from HRESULT: 0x8007007A)" when trying to create a scheduled task on a particular windows machine. The problem ...
2
votes
6answers
13k views

Scheduled automatic FTP website backup solution?

I was wondering if there was a way to schedule automatic FTP site backup with any free or open-source software? Clients like FileZilla do not have an automatic backup (ftp download) option. Is there ...
2
votes
2answers
50 views

7zip - Use Windows Task Scheduler to zip a file that has timestamp of previous day

I have a web server that generates log files everyday, the log of the day will be automatically saved as Log.YYYY-MM-DD.txt (i.e. Log.2016-07-20.txt). Now I need to use Windows Task Scheduler to zip ...
2
votes
2answers
4k views

Windows scheduler that runs every x minutes daily on the command line

Is there a way to schedule a task (.bat) through the command line that runs every five minutes daily? I also want it to run even if the user isn't logged on. What is the exact command line syntax?
2
votes
1answer
166 views

Does anyone have a Windows “at /every:” example to explain how to setup a batch file to run the first sunday of every month?

This is the one I have to run first day of the month, but I need to run it the first sunday of every month. at 13:00 /every:1 D:\DBMaintenance\MySc.bat Thanks
2
votes
3answers
4k views

Simple Linux-based task scheduler with job dependencies? [closed]

I'm maintaining a data-warehousing system that involves a lot of dependent jobs (data import, transform, etc). I've been using Linux's crontab to manage them until the dependency between jobs get ...
2
votes
3answers
2k views

Tell windows' scheduled task to run from now

I have created a scheduled task in Windows Server 2003 to run every minute. The start time is set to 12:00 AM so it will run all day. The start date is set to past date. The problem is the 'next run ...
2
votes
1answer
967 views

How to automatically convert all video files in a folder at a scheduled time?

More specifically, how do I convert MPG files to 3GP everyday at 3.00am? C:\TV\*.mpg -> C:\TV\*.3gp It would be more convenient if one video converter program could do all of this but I'm open ...
2
votes
1answer
426 views

Windows 7 scheduled task stops working after changing windows password

I have a scheduled task that triggers every hour. It runs as a service, meaning it's marked with "Run whether user is logged on or not". Because of my company's security policy I have to change my ...
2
votes
2answers
2k 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 ...
2
votes
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 ...