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

Scheduling starting a service after another service

I have a service that needs to be started only AFTER another service. Is there some way to configure the service to only start once another has finished starting? Obviously, I could use a delayed ...
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
3answers
2k views

it opens “open with” prompt whenever scheduled task run

I am trying to run a .vbs file on every five minutes. I am trying to do this using windows task scheduler. In Actions tab -> New Action, I select the file ("D:\Documents\FC3 Savegames\FC3.vbs") ...
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
2k 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
2answers
3k views

Windows Task Scheduler: Schedule task to run once every 10 seconds

In my windows, I want to schedule a windows service to start once every 10 seconds. I tried using the windows task scheduler but it only gives me an option to repeat the service daily, weekly and ...
2
votes
3answers
9k 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
1answer
3k 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
25k 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
12k 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
23 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
1answer
2k 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
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
3answers
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
7k 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
1answer
256 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
442 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
1answer
2k views

What local group should user belong to be able to run windows task as that user

When I assign user to a task, I get warning message "This task requires that the user account specified has Log on as batch job rights", but then I can click ok and it keeps this user assigned for ...
2
votes
2answers
321 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
2answers
5k 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
483 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
460 views

Viewing boot time scheduled tasks?

Does windows provide any list to view scheduled tasks that will run on next restart?
2
votes
1answer
893 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
427 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
29 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
2k 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
3k 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 ...
2
votes
1answer
1k 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
501 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
301 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
16k views

scheduled task last result 0xff

Where can I find the meaning of 0xff in the scheduled task last result field?
2
votes
1answer
723 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
236 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
2answers
11k 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
3answers
3k 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
1answer
744 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
2k views

Windows 8 “Task Scheduler service is not available”

I'm having problems keeping my Windows 8 clock synced so I'm trying to regularly resync with an every-5-minutes schedule trigger. When I go into the Windows 8 task scheduler through the ...
2
votes
1answer
504 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
119 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
13k 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
6k 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
769 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
1answer
179 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, ...