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)

0
votes
3answers
98 views

How can I retrieve the status of a scheduled task using schtasks?

When I run this: schtasks.exe /query /tn "GoogleUpdateTaskMachineUA" I get this: Folder: \ TaskName Next Run Time Status ...
2
votes
2answers
188 views

Windows Task Scheduler - run a task once a day at log on

I am trying to set up a schedule task to run an exe exactly once a day. I have tried the following: Trigger daily 4:00AM, "run task as soon as possible after a scheduled start is missed" This ...
0
votes
2answers
198 views

How to disable a windows schedule task in Windows 10 using the utility schtasks?

How can I disable a schedule task in Windows 10? They suggested me to use /disable but apparently and that option is already gone in Windows 10 and was available in the previous versions of Windows. ...
0
votes
0answers
19 views

Ensuring Cron Jobs are called from within the Server

Here is the information about my development environment: Windows Server 2012 R2 Standard 64-bit Operating System, x64-based processor Microsoft Visual Studio Professional 2013 .NET Framework 4.0 ...
2
votes
2answers
220 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: Does the scheduled task starts at a scheduled time even after a ...
1
vote
1answer
106 views

Is there a way to schedule windows 10 connection to internet

I need my computer be reconnected to internet after some hours from now for example, while I disconnect it manually, how should I set it to connect to the same wifi network after some hours ? I ...
0
votes
0answers
185 views

Access denied on deleting task I created from schtasks

I am using Windows 7 as a user without admin privileges (with no chance to change this situation). I have quite a long list of tasks, which are actively managed (I'm adding, deleting and rescheduling ...
1
vote
1answer
50 views

Bat file doesn't log when running from task scheduler?

I made a bat file which restarts 2 services, and I have it run in task scheduler. If I run the bat file normally, I can see it logging in current directory as the bat file. But if I run it through ...
0
votes
1answer
63 views

Create schedule task from xml file by batch file

I have a schedule task in my test machine. Test machine is win 7. I export the task in xml and I am trying to create a new similar schedule task as i will have to create same schedule task on more ...
4
votes
4answers
19k views

Windows 7 scheduled task returns 0x2

I have identical scheduled tasks running in Windows XP Pro and Windows 7. The XP Pro one runs fine, the Windows 7 one always returns 0x2 (which means, "The system cannot find the file specified"; ...
1
vote
2answers
330 views

Prevent scheduled task from running when system is locked

In Windows XP, I created a Scheduled Task to run every 15 minutes, and it is working perfectly fine. But I don't want the task to run when the computer is locked – CtrlAltDel. Is there a way to ...
0
votes
1answer
168 views

Schedule Shutdown when visual studio completes building a project

I used task scheduler for shutdown after a fix time but I want to know how to create a task in windown 7 so that it will shut down system when visual studio will complete building a project.
0
votes
1answer
113 views

Windows Server 2012: how to automate the dump and zip of a MySQL database

I am using a Windows Server 2012. I need to perform a dump of my database every two hours and zip the SQL generated file. The zip file must have this syntax: nameOfFile_date_hour.zip. I don't need ...
2
votes
2answers
2k 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 ...
10
votes
2answers
8k views

Will Windows Scheduled Tasks execute if the computer was off at the scheduled time?

If I schedule a task using windows task scheduler for, say, 2 minutes from now, and for some reason the computer is shut down 1 minute from now, and turned on 3 minutes from now, will the task that ...
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 ...
1
vote
1answer
62 views

How to get Windows 10 to understand Scheduled Tasks?

I've got a short vbs script that I need to run daily. Here is the vbs script: Dim URL URL = "C:\Users\jp2code\Coding\DailyEmail.html" Dim objShell set objShell = CreateObject("Shell.Application") ...
0
votes
1answer
1k views

Windows task scheduler not triggering a task on Windows 10

I have a task that is supposed to run a script I made, every 10 minutes, but it just doesn't seem to trigger it. In the task scheduler it says that next run time is in 10 minutes, but when the time ...
1
vote
1answer
39 views

Run batch job periodically after a process has terminated

I used FreeFileSync to create a batch job to backup my Firefox profile and I'm not sure how to run it periodically (every hour or so) or after Firefox has been closed. FreeFileSync's website ...
0
votes
1answer
287 views

Make PC wake up using task scheduler in Win 10 from sleep

In Win 10 Pro, I have used task scheduler to make my PC go to sleep (not hibernate) at night, which works fine. But I am trying to get my PC to wake itself up in the morning, but no luck here. I have ...
0
votes
0answers
45 views

How do I print the dates in an autosys extended calendar?

I have an Extended Calendar that is used by several autosys jobs. What is the command to print out the dates that this calendar contains?
1
vote
1answer
622 views

Can't wake up Windows 10 machine with task scheduler

I have successfully set up sleep and wake up tasks for Windows 7 that have functioned correctly for more than a month. After a upgrade to Windows 10 the wake up task has ceased working. I have tried ...
1
vote
1answer
73 views

Windows 10 does not wake on schedule

I recently upgraded a Win7 media server to Windows 10 pro. I have a scheduled task to wake the server at a specified time; however it no longer works in Windows 10. It worked perfectly fine in 7. ...
1
vote
1answer
110 views

Customize Windows Task Scheduler

I have a script that I want to execute using Task Scheduler at certain intervals that are different: I want it to run every hour in the day time (between 8 AM and 11 PM) I want it to run every 10 ...
0
votes
0answers
21 views

How to login a user from batch?

I'm looking for a way to login a user at a certain time of the day (for example 3 o'clock, when I'm most certainly not logged in), take some screenshot and then logout. As you can see from my ...
3
votes
0answers
34 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, ...
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
1answer
49 views

Warning when starting an app [windows automation]

I have two . exe application that conflict eachother ( App_A and App_B). I want to warn the user when he launch App_B if App_A is already running. ps: the warning message must really open before ...
1
vote
3answers
1k 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
3k 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?
0
votes
0answers
43 views

Delay a scheduled task after locking PC?

I'm trying to setup a delayed scheduled task that kicks off once the PC is locked. The action will be to put the PC to sleep. Right now I have it set to "delay task for 1 hour", and I also have a ...
3
votes
5answers
2k 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
1answer
105 views

Reverse scheduled tasks script

I have run the following .cmd file and I do not like it and want to completely reverse the changes. How would I do this without losing the original information about triggers/conditions etc. ? @echo ...
1
vote
1answer
855 views

Schedule disk scan for Ubuntu boot

How can I schedule a disk scan for the next boot in Ubuntu?
2
votes
1answer
268 views

Is there a way to quickly delete/disable ALL scheduled Tasks?

Windows 7 (and newer versions) come with a large amount of pre-configured scheduled Tasks. Additionally various software sometimes adds more scheduled Tasks in the system. Is there a way to disable ...
0
votes
2answers
5k views

Scheduled task works on a mapped drive when configured for Windows XP mode, but not for Windows 7

There is a Windows 7 PC with a scheduled task. The only thing it does is running a VBS file located on a mapped drive that points to a network share: M:\Folder\Script.vbs where M: is the mapped ...
1
vote
0answers
32 views

windows 7 schedule wifi or script wifi enabled/disabled

I would like to be able to enable and disable my wireless connection automatically either through some sort of scheduled task or some simple script that I could cobble together. I'm on windows 7 and ...
3
votes
1answer
12k 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 ...
0
votes
0answers
47 views

Win Server 2008 r2 - Task Scheduler run groovy script

I have created a Batch-file MyBatchFile.bat with the following content: groovy SomeScript.groovy So in a nutshell: the Batch-file simply runs a Groovy-Script. When I double click the ...
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 ...
1
vote
2answers
367 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 ...
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 ...
0
votes
0answers
178 views

Task Scheduler don't run task action script

head to Plan C anyway How to setup a task scheduler to run, effectively, a .bat which runs a .ps1 script (closes firefox, wait 3 seconds and enter suspend mode) or directly run the .ps1 whichever ...
1
vote
1answer
1k views

What are the arguments for shutdown.exe in Windows Task Scheduler?

I'm trying to use Windows Task Scheduler to automatically shut down my Windows 7 computer every day at a specific time. While there are a lot of tutorials on how to do this, none of them give a list ...
0
votes
0answers
161 views

Pass null arguments into a scheduled task xml file

I am trying to run a batch file when some specific events occurs and I want to pass some null arguments to one of my tasks. The problem is that I don't know how. I have tried a lot of combinations ...
26
votes
1answer
8k views

Move scheduled tasks to a new folder?

In the windows task management I created a new folder, lets call it "mytasks". I expected to be able to organize new tasks into it by using drag&drop from existing tasks, but somehow that's not ...
0
votes
0answers
11 views

Error while running scheduled task in login restricted user

I am using schtask to create scheduled tasks in windows. schtasks /create /RU "User name" /RP password /sc ONSTART /tn "task name" /tr "files to execute" The scheduled task is set to run under a ...
5
votes
3answers
4k views

Selectively deleting system scheduled tasks

Windows 7 box has a list of scheduled tasks - > Default Windows tasks + Certain custom tasks that all start with a certain string. Previous code deleted all tasks with the command: schtasks /Delete ...
0
votes
1answer
173 views

windows schedule command to run regularly

I apologize if this has been covered elsewhere or even in the MS docs, but I haven't found my answer yet. I have a program on my PATH, lets call it myprog.exe. All I want to do is configure my ...
0
votes
1answer
20 views

Mercurial pull across network drive in powershell script from scheduled task

So I previously had this question: Mapped Drive inaccessible from Windows Scheduled task in which I discovered how to get access to a drive a python script I was running needed to put files in. I ...