taskscheduler Questions
2
I am running Windows 10.
I'm trying to run a backup job (C:\WINDOWS\system32\robocopy.exe) using Task Scheduler. But I was getting issues. To figure out what was going on, I turned on the hi...
Selfcongratulation asked 16/12, 2016 at 7:34
1
I am running a C# windows console application and passing in a couple of arguments via Task Scheduler. It runs all day loading flat file data created by other applications into SQL server. The prog...
Vicissitude asked 3/5, 2018 at 20:33
5
I have a few powershell scripts that I'm trying to get to trigger as a failed state in the windows task scheduler when they have failures inside them. So I'm doing something like this inside the po...
Anabelanabella asked 21/12, 2018 at 16:16
2
I have a task which triggers every 5 min every day. But recently, I found the task always failed between only 8:00 am to 9:00 am but all the other tasks (some trigger every 1 min) do not have...
Faunie asked 20/4, 2018 at 2:13
2
Sample run.bat file
echo "Test"
echo %1
echo %2
set /p DUMMY=Hit ENTER to continue...
So this bat file will print the first two arguments that are given to them. The arguments may or may not con...
Kenna asked 10/8, 2017 at 11:16
2
Solved
I have a very simple power shell script that will register console applications as daily scheduled tasks.
$TaskCommand = Read-Host 'Enter the path to the console application'
$TaskName = "Task...
Maudemaudie asked 19/6, 2017 at 13:6
2
Solved
We have a couple of servers with hundred of scheduled tasks on them... and it is becoming problematic to find a right maintenance window.
Is there some tool which allows for a graphical representat...
Sejm asked 5/11, 2018 at 10:10
2
Solved
I have a powershell script which triggers an email and I have saved this as EmailScript.PS1 (no issues with the script,it runs just fine). I am planning to schedule this script whenever an event is...
Kohn asked 23/5, 2019 at 11:23
1
Solved
I'm trying to set up a program that would create a task schedule in a remote server. The following code works fine for local machine however when I try it with the remote server, it throws up the f...
Stover asked 24/10, 2018 at 19:0
1
Solved
I have one Console App which is created using asp.net Core 2.0 in VS2017. Now I want to run this application on particular time period repeatedly (like service). So I have tried this using Windows ...
Scoff asked 23/10, 2018 at 10:7
2
I have several tasks in Windows 10 that have recently failed. I've made no recent changes to the server. The tasks were working fine for years, and then started failing in December of 2017. I...
Conceited asked 15/1, 2018 at 1:25
1
Solved
Is there a way of getting the task scheduler history information into an array or variable inside a batch or PowerShell script.
For example, get the information such as task name, date and time wh...
Chloroplast asked 27/9, 2017 at 15:39
0
I am trying to list all scheduled tasks on Windows with a Python script.
On this post, Python check for Completed and failed Task Windows scheduler
there is some code which worked.
import win32com....
Cuss asked 4/9, 2017 at 13:31
4
Solved
I want to create some functions in ASP.NET Web API, which should be executed daily at specific time and do specific task like update statuses/Records/Generating Emails, SMS.
Should i create a Tas...
Kamila asked 9/2, 2017 at 14:53
2
Solved
I have created a simple Windows Forms Application that displays the names and folders of all scheduled tasks on the machine. I'm using the Task Scheduler Managed Wrapper (Microsoft.Win32.TaskSchedu...
Landmeier asked 10/5, 2016 at 11:44
3
I am using PowerShell for downloading data from email.
I want to run this process by PowerShell. When I run script like this:
D:\script.ps1
in powershell.exe it works fine.
When I schedule it...
Amoeba asked 13/1, 2017 at 12:52
1
Solved
I have a GUI application, and I hope it auto run after reboot/logout windows computer.
Here is how I use windows task scheduler:
first run a command to create a task: c:\Windows\System32\s...
Kenlee asked 28/9, 2016 at 1:51
1
When running the script below I get the following error: Set-ScheduledTask : The specified path is invalid.
$Action = New-ScheduledTaskAction -Execute """C:\Program Files\Sync\Sync.exe""" -Argumen...
Candancecandela asked 12/10, 2016 at 14:38
1
Solved
Does anyone know how to update the Arguments of a Scheduled Task Action using PowerShell?
Here is how I have been told to update the Action, thanks to @Richard 's answer in another question.
$Act...
Guarantee asked 10/10, 2016 at 11:19
1
I have created the following PowerShell script.
$root = 'C:\Backups\My Website\Database Dumps\'
$dateString = (Get-Date).ToString("yyyy-MM-dd")
$fileName = $dateString + "-MyWebsiteDbBackup.sql"...
Pertussis asked 1/8, 2016 at 7:35
1
© 2022 - 2024 — McMap. All rights reserved.