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
2k 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
4answers
23k 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
6answers
11k 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
1answer
7 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
1k 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
192 views

Create a scheduled task to run immediately and then hourly

I am using the schtasks command to create a scheduled task that I want to have run hourly, so I am using the parameter: /sc HOURLY However I would also like that task to run immediately on creation ...
2
votes
1answer
393 views

scheduled task shutdown on XP

I'm attempting to use a scheduled task to shut down my win XP PC. I get the error: Task Scheduler Error 0x80070005: Access is denied. I'm logged in with administrative privileges but am unsure why the ...
2
votes
2answers
297 views

Windows Task Scheduler with Possible Overlap

I need to run a task on the following schedule: task repeats weekly on Saturdays task repeats the first of every month However, if the first of the month is a Saturday, the task should only run ...
2
votes
1answer
4k views

How Do I Investigate a CPU Usage Spike Without Being Present?

I have a server that's mysteriously using up a lot of CPU late at night, when it shouldn't be under heavy load. This causes some database calls to time out, and I've set up some alerts in PerfMon to ...
2
votes
2answers
4k views

Is it possible to schedule my laptop to mute and unmute at a specific time?

I always used to wake up to my favorite radio station on my alarm clock. However, I have moved and can no longer get that radio station over the air. To solve this problem, I would like to stream the ...
2
votes
1answer
474 views

Scheduling an XP Weekly Task Without a Start Time

I need to schedule a backup task to run every week using the Windows XP Scheduler (Home Edition with SP 3). I would like it to run every Saturday, but how can I make it not time-specific, so it will ...
2
votes
3answers
451 views

Viewing boot time scheduled tasks?

Does windows provide any list to view scheduled tasks that will run on next restart?
2
votes
1answer
843 views

Scheduled Task Priority and Paging problems

I just scheduled a task in my Windows 7, and I have 2 problems with it: The process starting with Below Normal priority. Even after manually changing the priority to Normal (via Task Manager), the ...
2
votes
2answers
3k views

How can I run a C# application from the Window Task Scheduler?

I have a desktop application(C#.NET), where I call a web service. I need to invoke the C#.NET application from the Windows Task Scheduler, because I have to plan an execution four times a day. How ...
2
votes
1answer
144 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 ...
2
votes
1answer
847 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 ...
2
votes
1answer
19 views

Scheduled tasks / cron on Haiku?

It doesn't seem to be called cron on Haiku and I don't see anything in Preferences or Applications as of the latest nightly. (Where) is this functionality in Haiku / what is it called? (I also ...
2
votes
2answers
1k views

Windows Task Scheduler - Schedule a Task to Run 15 Minutes After another Task Completes

I have two tasks set up in the Windows Task Scheduler. One is supposed to run at 3:00 AM, and the other is supposed to run 15 minutes later. If the computer is off when the tasks are scheduled to run, ...
2
votes
1answer
992 views

Run batch file through Windows 7 scheduler to rename folder on network drive

I'm trying to do what I believed would be very simple: have a .bat file that rename two folders on a network drive. The script works fine when running from prompt, but not from the scheduler. Any ...
2
votes
1answer
1k views

How to run window-less scheduled task

I've got the following command running as scheduled task in Windows 8 cmd /C copy /Y nul B:\keepalive.txt However, when it runs it opens the command prompt window for fraction of second, and that's ...
2
votes
3answers
1k views

How to start application at a particular time?

I am downloading a file from uTorrent. The file is approximately 10GB. But the problem is I want to start the application at a particular time, not the downloading. I know about the scheduler function ...
2
votes
1answer
449 views

Have the at command return the job id of the task just submitted

Is it possible to have the at command return somehow the job id it just submitted when used from within a script? (kind of like $? retrieves the last exit code or $$/$! retrieve the PID of the command ...
2
votes
1answer
298 views

Will a scheduled task be blocked if another user is logged in?

I have a scheduled task set to run when logged on or off, and it seems to work, but if a different user is logged into the machine (the machine is on a domain, so a different domain user), will the ...
2
votes
3answers
3k views

network path not found error on creating schtasks

I am getting "ERROR: Network path was not found" when I try to create a scheduled task on my local machine. I am using this command at the command prompt: schtasks /tn taskname /tr taskpath /sc minute ...
2
votes
3answers
15k views

scheduled task last result 0xff

Where can I find the meaning of 0xff in the scheduled task last result field?
2
votes
1answer
698 views

How do I compress a directory on a Unix web server and email it on a sheduled basis?

After hearing about various high profile website creators getting stiffed recently after hardware failures on their servers I would like to implement a backup strategy on my websites. I have cPanel ...
2
votes
2answers
220 views

Windows Scheduled Task refuse to run

I am trying to setup a daily task (running CTest from a batch script). I have used the default GUI of my Vista Pro 32bits, and setup the following task: > schtasks /query /tn "trunk nightly" /xml ...
2
votes
1answer
141 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 ...
2
votes
2answers
9k views

How do I get a .bat file to run in Task Scheduler at PC Startup?

Alright so I have been reading through the various answers on Super User for this question and no one has seemed to actually post a way of running a .bat file in Task Scheduler at PC startup. I would ...
2
votes
1answer
661 views

Windows Run Scheduled Task After Wake Up with Command Line

I am trying to use the command line to create a scheduled task that will run after I log into my account, whether it be for the first time on that day, or after resuming from sleep/hibernate and then ...
2
votes
1answer
439 views

Allow users to remotely modify Windows Scheduled Tasks without granting them log on rights

Is there any way to allow users to create/edit/delete scheduled tasks on a remote machine without allowing them to log on (remotely)? The machine is a Windows 7 (Enterprise) one or alternatively ...
2
votes
1answer
110 views

Is there any way to regularly reboot a hung Windows PC

We have a PC (Dell Optiplex 760, WinXP SP3) that hangs periodically, like really hangs - everything frozen, can't reboot from keyboard, only way out is hold the power button down to turn it off and ...
2
votes
2answers
11k 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. ...
2
votes
2answers
45 views

Migrating from cmd to mac

For me it is quite easy to automate a jar file to run on a pc. java -jar "C:\...\mFilePath\myJar.jar" stick this into a cmd file, and schedule it. Now, migrating over to a mac, i am unsure how to ...
2
votes
3answers
5k views

Windows scheduler - Tasks not running when user not logged in

I have Windows Server 2003, with schedules setup via Remote Desktop under one account. That account appears in the 'creator' column too. I have 'Run only if logged on' unticked. When I have logged ...
2
votes
1answer
2k views

Calling nested batch files in Windows 2008 R2 task scheduler

I am trying to schedule a batch file in Windows 2008 R2 Server. My batch file internally calls two other batch files. I am trying to schedule this on hourly basis. The schedular calls my batch file ...
2
votes
1answer
716 views

Send scheduled SMSs via Skype

I would like to send programmed SMSs via Skype. I mean, I write a list with SMSs to different people that says; a) send a 04:30 a SMS to Joe "Wake up please, we meet at 05.30!", and so. The first idea ...
2
votes
2answers
2k views

WinXP Scheduled Task: Open a webpage in a browser

I am trying to create a scheduled task that opens up a webpage that has requires credentials for an http login dialog. I can get IE to load the page, but it will not remember my password for some ...
2
votes
0answers
15 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
0answers
234 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 ...
2
votes
3answers
1k views

FTP batch file works from command line but not scheduled task

I want a windows scheduled task to execute an ftp batch file which will upload some files to my server. If i run the argument below from the command line then it executes successfully. ftp -i ...
2
votes
1answer
885 views

Task scheduler doesn't work unless I run it manually

I have a scheduled task on my Windows 2008 R2 server which is supposed to run a powershell script to download a backup of a file from another server. On this same server, I have scheduled the exact ...
2
votes
0answers
340 views

Windows 7 Scheduled Task with alternate credentials - Admin

I have a scheduled task on a win 7 box that runs under alternate permissions. The account that created the scheduled task was a local admin on the PC, but now the company is removing accounts from ...
2
votes
0answers
398 views

Automated git pull on Windows 8 as system

I have installed msysgit for windows 8. I am attempting to automate a git pull every 5 minutes. I am using scheduled tasks to run a script I wrote. The schedule task's action is: powershell ...
2
votes
0answers
348 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 ...
2
votes
0answers
186 views

Cannot run scheduled task off network

I am trying to run a scheduled task (multiple ones) that access an EXE stored on a network drive. These tasks worked perfectly fine when stored locally. I am using UNC to avoid mapped drive issues ...
2
votes
2answers
174 views

Status of the process while Windows scheduler working

I have a .bat file which should kick off every 30mins. I am using Windows scheduler for this. I have some questions on the same, 1) Does the scheduled task starts at a scheduled time even after a ...
2
votes
2answers
168 views

Windows Task Scheduler won't let me uncheck “Wake the computer” option for a backup task

I have a problem with my windows 7 laptop automatically waking after I put it to sleep and then I find it later with the battery drained. I tracked down the culprit using the "powercfg -lastwake" ...
2
votes
0answers
204 views

Scheduled task doesn't seem to work

I am trying to back up all the data from a cash register system every morning. I don't know if the user I'm running the task as will be logged in and I discovered that Windows XP doesn't actually ...
2
votes
2answers
2k views

Scheduled task to restart server and software to monitor server

I have a windows server 2003 that runs low on memory and to solve the problem I restart it. So to help with this I want to set up a scheduled task that restarts the server every night. Any tips on how ...