Questions tagged [scheduled-task]

A scheduled-task means the launch of a program or script at predefined times or after specified time intervals.

662 questions
0
votes
1 answer

Random scheduling of backups in BareOS

I've recently configured the laptops and workstations in my environment with BareOS. We are doing this as a preventative measure for data loss (part of a grander scheme of recommendations). With the large-ish number of them available, they're not…
0
votes
1 answer

Why isn't my scheduled task triggered reliably?

It's 19:01 now. This is what the Scheduled Tasks window on my Windows Server 2016 shows: As you can see, the highlighted task is: triggered to run at xx:15 every hour, is scheduled to run again at 19:15 and last ran at 16:15. When I checked about…
Heinzi
  • 2,217
  • 5
  • 32
  • 52
0
votes
1 answer

Minimum delegation needed in AD for reading Scheduled tasks and Services info

I am trying to monitor Scheduled tasks and Services remotely(from a different domain) on windows servers (domain controllers) ; we are planning to implement a minimum required delegation model for this part; i tried multiple options, but only thing…
0
votes
1 answer

How to prevent Task Scheduler errors/fails

There seems to be lots of myths and bugs upon research not many useful items were returned or maybe outdated "Run whether logged on or not", according to many posts/results saying this function is bugged and batch files are not get kicked off…
0
votes
1 answer

PowerShell script using Bits-Transfer does not work as Scheduled Task

I've tried utilizing other Q/A's such as Windows Server 2008 R2 PowerShell script runs manually, but not as a scheduled task but to no avail. Basically I've got a PoSh script (apparently that's the hot abbreviation for it nowadays) that copies a lot…
NateJ
  • 125
  • 1
  • 6
0
votes
1 answer

Task Scheduler in Server 2016 Datacenter Edition Doesn't Run Automatically

We are migrating some applications and we use the Windows Task Scheduler as a tool. Migrate from Server 2012 Datacenter for Server 2016 Datacenter. I create the tasks in several ways, importing from task scheduler in Server 2012, manually or using…
0
votes
2 answers

Scheduled Powershell script occasionally dies midway through

I have a few powershell scripts that are scheduled, and they usually run just fine (both as a scheduled task, and when run manually) I've got an issue where occasionally, they just stop working midway through a script. One of my scripts looks like…
basementjack
  • 101
  • 1
0
votes
1 answer

Powershell script runs manually but not in Task Scheduler

I have this Powershell script and I want to schedule it run every 1 minute. So I created the task and schedule it to run every. If Right-Click->Run the scripts runs OK. But when it's scheduled it says that it ran successfully but it's not. I have…
user776720
  • 197
  • 3
  • 12
0
votes
1 answer

Run cron only if server is awake

To explain the question: my server (NAS) sleeps when it is not used and I want to keep it this way. However, when someone uploads a photo folder, it wakes up and processes the upload. I would like to notify a group of people when someone uploads a…
0
votes
1 answer

Running a Batch File from Task Scheduler With User credentials automatic fetch from directory

I'm trying to run a batch file on Windows 7 from the Task Scheduler. I can run the batch file fine if I run it from the command prompt and by storing user credentials in Task schedular. However, User's password changes per month so i need to find a…
0
votes
1 answer

WinServer2008R2 Task Scheduler - Define unique Argument in Action for only one Trigger

I have a windows console app that's launched via Task Scheduler (multiple triggers: 6am and 1pm). The Action for each starts a program. I want to add a 3rd trigger at some arbitrary time of day (e.g. 5am) but for this execution only I want to add in…
0
votes
1 answer

Divide a Backup Workload (Azure Storage)

We run on Azure services and I'm backing up their blob storage. There doesn't seem to be anything offered directly on Azure for accomplishing this. Storage accounts offer redundancy, but not backup. I'm looking to ways to break up a workload in a…
Daniel
  • 11
0
votes
0 answers

How do you determine when a Windows Scheduled Task is completed?

I'm using a machine running Windows Server 2012. I have a scheduled task that indexes some files. This task takes around an hour or two to complete. However, I would like to know EXACTLY when it completes and also track how long it takes. The best…
starshine531
  • 111
  • 3
0
votes
1 answer

Task Scheduler starting OpenWith.exe in the background instead of default associated application

I have a custom type .acust which is associated with a homemade application. Scheduling works fine as long as it is "Run only when user is logged on" but doesn't work as a service "Run whether user is logged on or not". An obvious workaround is that…
sofsntp
  • 101
  • 1
0
votes
1 answer

Cannot schedule task to run as user on Server 2012 R2

I'm trying to create a scheduled task on Server 2012 R2 to run as a domain service account. I select "Run whether the user is logged on or not", and select the domain service account, click on OK, enter the credentials, and then I get this error…