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

Scheduled task not running BAT file

I have a windows server that I created a BAT file that basically goes into a network sharefolder and copies a file to a different location. When I run the BAT file manually it works perfectly. When I schedule the file nothing happens. Is there…
0
votes
1 answer

VMWare Revert Non Persistent Disk on Restart

I have a Virtual Machine running Windows 2003 Server which itself is running on VMWare Server 1.0.4. The Virtual Machine has Non-Persistent Disks and periodically I manually shut down the box and turn it back on in order to put it back to it's…
Robin Day
  • 506
  • 1
  • 8
  • 19
0
votes
0 answers

Displaying the window of a background process started by task scheduler in the current login?

Is it possible to bring a window that has been started by the task manager in the background to the foreground of an RDP session provided that the same account started the task? And if so how?
leeand00
  • 4,869
  • 15
  • 69
  • 110
0
votes
0 answers

schedule command with "at" after reboot

I'm trying to schedule a command to run only once with at. But the server is prone to reboot at least once every day. I already tried to schedule a command with at` to be executed in 24 hours, but it wasn't executed. how can I get at to remember the…
RazorHail
  • 165
  • 1
  • 9
0
votes
1 answer

How to query database(s) on daily schedule and generate an email report with the results?

I have a website that runs off a Node web server, a Redis server for temporary storage, and a Postgres database. Once a day, I would like to run a batch of Redis and Postgres queries to generate a daily report of key usage statistics, tabulate the…
0
votes
0 answers

Batch/Powershell file wont run via Task Scheduler during logoff

I'm having trouble getting my Powershell file to run from Task Schedule during logoff. In short, I'm trying to upload my NTUSER.DAT (roaming profile) to my profiles folder on the file server. Dynamic VLAN switching does not support roaming profiles…
0
votes
2 answers

Creating Scheduled Task from Group Policy. Can't write to network share?

I am using NinitePro and group policy to deploy and update software on our small network of 150 Win 7 and WinXP machines. I am roughly following these…
RJ45
  • 13
  • 1
  • 2
0
votes
3 answers

Windows Scheduler execute page on the internet

Can anyone tell me how I can use windows scheduler on windows server to execute a page over the internet, specifically an asp.net file.
madphp
  • 379
  • 3
  • 12
0
votes
0 answers

Scheduled Task running longer than expected

From further investigation I have found there is an exact issue on how long certain instances of the task run for. most successfully run in a few seconds, yet a few consecutive tasks are running up to an hour (then stopped by the manager). At this…
Simon.
  • 121
  • 6
0
votes
1 answer

Console application scheduled task not exiting some times on Windows Server 2008 R2

I have a C# console application as a Scheduled Task on Windows Server 2008 R2. The application is scheduled in Windows Task scheduler to run after every 15 minutes. At the end of the application I have, Logger.Log("Killing…
0
votes
0 answers

Running Defrag Task Against Servers

I have a PowerShell script as follows: $ListOfServers = "Server1", "Server2" $RunDefrag = { param($Server) $Volume = Get-WmiObject -Class Win32_Volume -ComputerName $Server -Filter "DriveLetter = 'c:'" $Result =…
The Woo
  • 579
  • 6
  • 21
  • 39
0
votes
1 answer

How to change task's priority?

How to change task's priority in Windows Server 2003 Scheduled task? I see it's possible in Windows Server 2008 and R2. I'm wondering if it's possible in Server 2003 too? In 2008 it's possible through a XML walk-around, which is not possible in…
0
votes
1 answer

How to enable or disable a ClusteredScheduledTask in Powershell 4.0

Reference to this page: http://technet.microsoft.com/en-us/library/jj649815.aspx I'm finding ClusteredScheduledTasks a bit daunting to handle without a GUI interface. For example, they have a Disable-ScheduledTask cmdlet. Could I run that against…
NealWalters
  • 1,333
  • 8
  • 19
  • 39
0
votes
0 answers

Windows Task Scheduler skips a scheduled interval

We use Windows Task Scheduler on Win2008/R2 to run a small Powershell job every 15 minutes. It creates a small XML file which triggers a BizTalk process to run, so it typically takes under 1 second to run. A week ago, it skipped two consecutive…
NealWalters
  • 1,333
  • 8
  • 19
  • 39
0
votes
1 answer

User WinWget to keep web site alive in a Windows Server 2003

I have a site that must stay alive due to a service that runs and check a directory for changes. The site is running in IIS at a Windows Server 2003 and the solution I came up it that I will Schedule a task that requests the home page every 5…