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
1
vote
0 answers

RSelenium makeFirefoxProfile with Windows Task Scheduler

I am navigating a web page with firefox using RSelenium package. When i start building my script i used makeFirefoxProfile function to create temporary profile for setting download directory and related file type to download needed file into…
1
vote
1 answer

How to set up email notification when task scheduler completes "with return code..."

How can I setup an email notification to myself when task scheduler not failed but completed "with return error code...". Again, log file doesn't say Error, it says Action completed. The only difference difference between truly successful completion…
Serdia
  • 4,242
  • 22
  • 86
  • 159
1
vote
1 answer

Powershell Script via Task Scheduler Not Working with Arguments

I'm hoping you geniuses can help me out today. I'm not a savant with PowerShell, I only use it to automate some tasks to make life easier. The one thing I'm trying to automate is a daily password reminder to those employees whose password will be…
1
vote
1 answer

Python script can't find file when using Windows Scheduler

I have a batch file to execute Python and run a Python script that works fine when run manually. But when run using Windows Task Scheduler, the Python Script gives me a traceback because it can't find a .TXT file that's in the same file as the…
1
vote
2 answers

Windows 10 Task Scheduler tasks don't even try to run

I am trying to get a task in windows scheduler to run every 10 mins. In the following image there are two blue lines, this is only one task but I have screenshot them at different times after refreshing the page. As you can see in the image Task…
1
vote
1 answer

Modifying triggers of tasks with highest privileges using PowerShell

I have a PowerShell script which reads a csv file of job names & triggers and then update the triggers of jobs on Task Scheduler by using Set-ScheduledTask cmdlet. I am able to update the triggers of the jobs. but few tasks are running with Highest…
1
vote
1 answer

Powershell script works in ISE / Console but not Task Scheduler

I currently have a script that allows me to convert any excel spreadsheets within a specific folder to PDF documents which are saved in another folder. The script works great if you run it from Powershell ISE / Console. However, if you run the…
h0pper
  • 75
  • 8
1
vote
1 answer

MSI Installer not working when run from task scheduler

I have a .msi installer that installs of a component of an application that my company develops. I am trying to automate the installation process. I have found that the msi installs fine when I run it from the GUI, when I run the silent install…
arunm
  • 55
  • 6
1
vote
1 answer

Don't know how to run a Function at a specific time

I tried to learn more but sadly I can't understand how it works with the Windows Task Scheduler, so I tried something simple, but it still doesn't work. I want this function to run every day except the weekends. Here is my code: Sub…
1
vote
1 answer

Let standard user run shortcut that triggers a scheduled task created by administrator?

I created a scheduled task in the task scheduler and created a shortcut to trigger it. However, when I log in as a standard user and I run the shortcut, nothing happens. But when I open the task scheduler (As Administrator) the task is there and…
1
vote
1 answer

PowerShell script runs manually but not through the Task Scheduler

I have a simple PowerShell script that has 1 line. It logs into a database,and runs a sql script of queries, that deletes old data. sqlcmd -U myUser -P myPassword -S localHost -i .\deleteOldData.sql When I run the script manually in PowerShell…
humzaqureshi
  • 39
  • 2
  • 4
1
vote
2 answers

Window not activated when the application is run from Task Scheduler

In my appplication I am trying to focus a textbox so I can type straight away after the Form is loaded. When the Form is shown, I can see is the cursor blinking in the TextBox but if I type something nothing happens. I need to click the Window to…
Tak
  • 3,536
  • 11
  • 51
  • 93
1
vote
1 answer

Run Scheduled Task with C#

I've created a simple task. It is launched at the log on of every user. I'd also like to launch it right away after creation -> do what "Run" in Task Scheduler GUI does. I know that I can start a new process, and execute action target that way.. Can…
Robert Segdewick
  • 543
  • 5
  • 17
1
vote
1 answer

How to I use SemaphoreSlim or Dataflow to handle notification throttling?

I have a situation where our application receives notifications when information is updated. When we receives a notification, we will fetch the latest change in async fashion in a WPF application. What I like to do is when a flood of notification…
Andrew Wu
  • 13
  • 3