Questions tagged [taskscheduler]

Task Scheduler is the common name for a set of tools and services that provide scheduled execution of executables and scripts on the Windows operating system. Use taskschedular tag in conjunction with powershell, winapi, windows-task-scheduler tags when Task Scheduler related.

The Task Scheduler helps scheduling automated tasks that perform actions at a specific time or when a certain event occurs. It maintains a library of all scheduled tasks, providing an organized view of the tasks and a convenient point of access for managing them. There can be run, disabled, modified, and deleted tasks from within the library. The Task Scheduler user interface (UI) is a Microsoft Management Console (mmc) snap-in since Windows Vista and Windows Server 2008.

Useful links

492 questions
0
votes
2 answers

WPF : Progress Bar update in Parallel.Foreach

I am trying to update the progress bar while running a Parallel.Foreach, but during execution nothing happens. Progressbar gets updated only when the For loop end. How can I make this code work? XAML
teddy2
  • 382
  • 4
  • 16
0
votes
0 answers

Script not running via Task Scheduler

I have to deploy some Perl automation scripts on a server. But to schedule them I am using Windows Task Scheduler. I have a .bat file in which I have written the command perl scriptname.pl Provided the .bat file and script are in same directory…
Mohit
  • 608
  • 4
  • 19
0
votes
1 answer

Task Scheduler Managed Wrapper error Access denied

I am creating an application that creates a scheduled task for every user on first logon. I am using NuGet package Task Scheduler Managed Wrapper 2.5.21. When the exe run on logon, the Access Denied error occurs. When manually run the exe as…
Nelson T Joseph
  • 2,683
  • 8
  • 39
  • 56
0
votes
0 answers

Task schedular does not giving output of Powershell script

On Windows 8, I want to schedule a SQL Server backup using two files: powershell.ps1 sqlcmd -S GT044 -E -i backup.sql and filename.sql BACKUP DATABASE [DB_NAME] TO DISK ='D:\backup.bak' When I manually run powershell.ps1 in PowerShell, it works…
Ahmad Raza
  • 39
  • 10
0
votes
2 answers

Powershell Scheduling Diskspaces import

OS windows 8, I am scheduling a script to import free diskspaces to import in a csv file, using windows task schedular.The script runs manually but no output it gives when scheduled is task schedular . The code used is as follows …
Ahmad Raza
  • 39
  • 10
0
votes
1 answer

How window services work internally compared to task scheduler or task manager?

I am a .net developer working in web applications and from past few months I started working on windows applications and one application need to run every day at 12 noon so I wrote a web service with the help of google and it is working fine. But I…
Nithin B
  • 601
  • 1
  • 9
  • 26
0
votes
1 answer

Run VB Application in Windows Task Scheduler

I have an application that have a function same as DTS (transfer data from AS400 to SQL Server). I need this application to run according to a schedule that I made. This application runs normally if I open it, but if I put it in Task Scheduler, it…
Fauzi Rachman
  • 103
  • 1
  • 2
  • 9
0
votes
0 answers

When we run .exe manually, it works fine, but same .exe is not working in Windows's Task Scheduler?

I deployed .exe in windows 2008 R2 server, it is running fine when we run manually, but it is not running in Task Scheduler (TS), when we run in TS, task is completing with out any error, but in 'Last Run result' column it shows this '(0xC0000142)'…
tarun92
  • 41
  • 9
0
votes
1 answer

Windows task scheduler is not running in Windows server 2012 when trigger option is set as Startup

I have a task scheduler to execute a batch file on windows start up. I have the following setup in task scheduler, Trigger - At startup Action - to execute a batch file Security options - Run whether user is logged on or not When i reboot the…
Jugi
  • 1,244
  • 3
  • 23
  • 51
0
votes
0 answers

VBS and Taskscheduler - Why not working?

I made a vbs script to launch a program and to put in the login credentials. When i run the script by clicking it works perfect, but when launched trough the scheduler it does not work as desired. The script is as follows: Dim objShell Set objShell…
0
votes
0 answers

Powershell giving wrong output after scheduling with window's task scheduler

I have a PowerShell script to check the password expiry date of the a system user and send a mail if it is going to expire within 10 days. Script works fine when we run it stand alone. But it show abnormal behaviour after scheduling it with windows…
Navdeep
  • 55
  • 1
  • 2
  • 6
0
votes
1 answer

Scheduled Task Event Trigger, Programmatic Access to Event Trigger Information

Is there an exposed object related to the object that triggered the event? I'm trying to create a trigger that fires on an event and then kick off a PowerShell script that runs, deterministically logs information from that specific event, where…
thepip3r
  • 2,855
  • 6
  • 32
  • 38
0
votes
2 answers

Download public Google Spreadsheet in VBS using Task Scheduler

Please help, my vbscript: saveGSheet.vbs (to download sheet) works fine when manually run. I woud like to automat this, but an automatic task will NOT download the file. How to run this in Task Scheduler? On Windows Server 2008. Task Scheduler -…
0
votes
1 answer

Is there a way to use a batch file to play a mp4 in a directory

Im trying to find a way so i can get task scheduler to open a batch file and, to play a video at a specific time of day, but the video changes everyday, but is in the same directory. Im sure i can get a way so it's the only video in the directory…
Jason Tang
  • 3
  • 1
  • 3
0
votes
1 answer

PowerShell MySQL Backup Script Error in Task Scheduler 0x00041301

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" $backupFilePath = ($root + $fileName) $command =…
J86
  • 14,345
  • 47
  • 130
  • 228