I'm using Windows Server 2012 R2 to create schtasks. Here is the command to create the task: For testing purpose, my clear_cache.ps1 only does echo ...
I'm using Windows Server 2012 R2 to create schtasks. Here is the command to create the task: For testing purpose, my clear_cache.ps1 only does echo ...
I am new to SCHTASKS and cannot get it to run a simple command. What I tried is below. The file c:\downloads\temp_w.txt is not created. What is wrong? ...
I exported one scheduled job I created. And it should be possible to import that task to other computers using cmd/powershell. Is there a way to tell ...
I'm trying to set up scheduled tasks for all the machines in our network. So they don't all have the same start time I edit the XML file to use a rand ...
I have a schtask task called asset which won't execute automatically at the scheduled time 5:00am. I would however point out it ran automatically at i ...
I'm trying to create a task using SCHTASKS.EXE and specify the location is per the following image (Windows 10): Is it possible to do this using sc ...
I want to create a task to delete a file after 2 months from the current date. How can I do this? EDIT ------- I was able to find how to create a ta ...
Microsoft's definition is not too helpful /V1 A value that creates a task visible to Windows 2000, Windows Server 2003, and Windows XP platforms. Wi ...
I was trying to put a php file as a scheduled task on my windows server that runs daily. But it failed to run. The first time I created it I used the ...
I have created a batch file to check if scheduled task exists and if they don't create them, however, my if exist rule seem to always hit true even th ...
Here's what I got: I want to check to see if the test task is already running. The functionality of this works, but even with echo off, the find /c ...
Open a windows terminal and run as administrator, I can run schtasks commands successfully without type in username and password. But if I double cli ...
My installer currently installs a few files to a directory and then executes some CustomAction scripts to create 2 scheduled tasks named Script1 and S ...
The following .vbs creates the desired task without any issue (please excuse the syntax): However if I try pass the schtasks command string via a v ...
I am currently trying to use the schtasks command to change scheduled tasks on a Windows 2008 server. I have successfully updated a task which resides ...
I am trying to schedule a task with this command I need Task Scheduler run my file inside current directory of myfile.exe. How this can be done con ...
I want to create a scheduled task using C:\Windows\System32\schtasks.exe in a perl script. I'm using the following script: But I get the following ...
Basically i have scheduled a task in windows task scheduler. In the task i have scheduled a powershell script in the program/script path we have giv ...
using schtasks /query /tn taskname or schtasks /delete /tn taskname doesn't seem to find my task, always returns "The system couldn't find the specifi ...
I cannot find an explanation for this phenomenon (same command gives an error and succeeds as well): The only difference between the two lines is t ...