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
1 answer

Earn xp point from tasks DB design

I'm trying to make gamification Q&A platform where users can earn xp and level up with doing some tasks given by system. Requirements When user level up, new tasks must given this user and user earns xp for completing each given task. If user…
Abraam
  • 13
  • 1
  • 3
0
votes
0 answers

MySQL Database backup on windows server -- not working with dynamic date

I'm able to schedule a windows task to create a MySQL database backup based on advice given in this stackoverflow question: MySQL Database backup automatically on a windows server This is my command: mysqldump.exe --user=[user] --password=[password]…
Najla August
  • 81
  • 1
  • 12
0
votes
1 answer

How to send email immediately when upload file

I have to send email immediately to all users when user upload files in to the folder. My existing code works as follows: we have the Task Scheduler which will run daily at 11am and the files will filter modified date. My aim is to send email when…
sai
  • 97
  • 9
0
votes
1 answer

Enable task to be deleted after X time

How can I enable a task created using PowerShell's Register-ScheduledTask to be deleted If the task is not scheduled to run again? As in New-JobTrigger -Once -At $ScheduledTime The option is seen in the Task Scheduler GUI > Task Properties >…
user4317867
  • 2,397
  • 4
  • 31
  • 57
0
votes
2 answers

Email sent with VBA using Task Scheduler gets stuck in Outbox

I have some macros and Task Scheduler to launch Excel at a specified time, update some tables, create PDF documents from those tables and then email those PDF documents to select individuals. Sometimes the email gets stuck in the Outbox and does not…
0
votes
2 answers

Bat File Runs manually, doesn't Complete with task scheduler

I have a batch file that calls a few commands and ultimately runs a powershell script. It runs fine manually, however in task scheduler, I can see that it completes some of the actions but doesn't actually run the powershell script (last command in…
0
votes
1 answer

Schedule Run Web Application

I have a web application hosted on IIS server. I want to schedule a task to run the application (call routine.aspx) every 1 hour. I do not need to pass any argument or do not need any browser. Just want the application to run every 1 hour. How do I…
Sam
  • 47
  • 1
  • 6
0
votes
1 answer

Can't consume WCF when running console app through Task Scheduler

I have a simple console app that consumes a WCF service I created and am hosting in IIS. When I run/debug the console app directly, everything works fine. When I run the console app through Task Scheduler, I get the following error: 22/05/2016…
rkm2
  • 53
  • 1
  • 8
0
votes
1 answer

Tasks in task scheduler not triggered properly

I have certain tasks that run and send reports via e-mail daily in task scheduler. Suddenly, I stopped receiving e-mails and also getting the following error for few tasks. Task Scheduler failed to start "\TaskA" task for user "system\abc".…
Cooluser
  • 11
  • 2
0
votes
1 answer

I need help creating a TaskScheduler to prevent threading overload

I want to add workers into a queue, but only have the first N workers processing in parallel. All samples I find are in C#. This is probably simple for a programmer, but I'm not one. I know enough about VB to write simple programs. But my…
0
votes
2 answers

Task Scheduler - MS Access can't send email via MS Outlook

Recently we updated our systems to Office 2016. I have a scheduled task that reads information in an MS Access DB and then sends this information to a mail recipient via Outlook. All was fine until the upgrade. The Scheduled task launches a .bat…
0
votes
1 answer

ITask::SetApplicationName Application name with space issue

In my C# application, I am using ITask Task Scheduler interface to create the Task into Task Scheduler. I can able to create the task but I am facing problem in assigning Application name. Everytime I create a task "Start a program" (Application…
Davy
  • 134
  • 5
0
votes
1 answer

.NET - What could happen if we lock(TaskInstance) not shared?

An example : try { var myTask = Task.Run(async () => { await Task.Delay(1); }); myTask.ContinueWith(myContinuedTask => { lock (myTask) { Task.Delay(1).Wait(); …
zizou
  • 49
  • 1
  • 6
0
votes
1 answer

.NET JobSchedule Quartz not running

I have got Quartz JobScheduler to run few tasks. It has been working fine but now I have found out it has stopped working on one of the servers. I use Task Scheduler to trigger the tasks and logs to record the tasks being carried out. But since it…
Emran
  • 397
  • 1
  • 2
  • 13
0
votes
1 answer

Using Task Scheduler, how do I backup a folder and delete old backups

I am currently backing up a folder on my desktop to another folder every 6 hours with Task Scheduler and a batch file using xcopy. How do I, say, delete backups older than 12 backups ago? For example if I have 12 backups already and it's the next…
Shane Smiskol
  • 952
  • 1
  • 11
  • 38