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
8
votes
6 answers

automatically shutting down an ESXi host nightly

We just picked up a new development server that I've loaded ESXi on. The room it's in is well ventilated during the day but at night the door is closed and it gets quite toasty in there. I've been asked to have the box shut down nightly, as we won't…
8
votes
6 answers

Query schtasks using Powershell

On a Windows7 machine I am trying I can run a query to view all the scheduled tasks using schtasks.exe This is fine but I would also like to filter the result set using something like schtasks /query | where { $_.TaskName -eq "myTask" } The…
jdiaz
  • 1,189
  • 3
  • 16
  • 16
7
votes
1 answer

Register-ClusteredScheduledTask : The parameter is incorrect

While executing below Register-ClusteredScheduledTask i am getting this error. Register-ClusteredScheduledTask -TaskName $ClusterTaskName -TaskType AnyNode -Xml $TaskXML | Out-Null Register-ClusteredScheduledTask : The parameter is incorrect. At…
7
votes
1 answer

How do I create a scheduled task that will run as the logged in user

I am trying to write a scheduled task that will run in the context of the currently logged in user. It appears there was an option to run the task as a group in Windows 7 (see…
Ben
  • 1,137
  • 9
  • 26
  • 44
7
votes
4 answers

How to schedule a task to run every x-minutes on Windows Server 2003 R2

How to add a scheduled task that should run every x-minutes on Windows Server 2003 R2. I have followed many suggestion from the web, but I always end up with some interruption after 1 or 2 runs. Here is what I did: New Scheduled Task Schedule >…
John
  • 664
  • 6
  • 15
  • 31
7
votes
7 answers

unable to schedule a task (access denied)

i have a bat file im trying to schedule every morning. whilst in the Scheduled Task Wizard... when i click on finish... i get a ... The new task could not be created. The specific error is: 0x8007005: Access is denied. Try using the Task page…
hiddenkirby
  • 225
  • 2
  • 4
  • 10
7
votes
7 answers

How do I automatically run nightly backups for Microsoft SQL Server 2005?

I don't see any built in mechanism for scheduling nightly backups in SQL Server 2005. What tools are available to perform this task and how reliable are they?
cowgod
  • 3,500
  • 6
  • 28
  • 20
7
votes
2 answers

How do I give a user permisson to view scheduled task history on Server 2008?

I've set up a scheduled task on Server 2008 and want to run it as a user other than the local administrator. So I choose a domain account created specifically for this task and once I've closed the scheduled task and entered a valid password I want…
pplrppl
  • 1,262
  • 2
  • 14
  • 23
7
votes
3 answers

Scheduled Tasks w/ GUI issue

Are there issues running Scheduled Tasks in Windows 2003 when the task has a GUI? I have one that worked fine in Windows 2000 but won't run on Windows 2003. Details: I have a .bat job that ran every hour throughout the day on an old Windows 2000…
Chris_K
  • 3,444
  • 6
  • 43
  • 45
6
votes
3 answers

cron task problem

I have a cron task as 6,36 * * * * python /usr/local/news.py >> /var/log/newlog it is supposed to run at every 6th and 36th minute of each hour. But for some how the system runs this task 4 processes/times each time. This task is to update…
Weiwei
  • 367
  • 1
  • 5
  • 10
6
votes
5 answers

Server 2012 R2 Run Program from Task Scheduler not running program

I have a scheduled task that I am trying to run a program (a DB backup program). For reasons unknown I am unable to actually get the program to run, even though the task log says everything was run complete on schedule. What am I doing wrong? I've…
Edgeworks
  • 61
  • 1
  • 1
  • 4
6
votes
1 answer

If I disable a Windows task in task scheduler will it stop the current task that's running too?

Let's say I have scheduled Task A in Windows Server task scheduler, and it's set to run 6 times a day. I manually run it 20 minutes before it's about to run next, but I forget that it's going to take about 20 minutes to run so I don't want it to run…
6
votes
3 answers

Windows server 2012 scheduled tasks run using default profile ( when ran session less ) even if specific account is specified

As pointed in http://social.technet.microsoft.com/Forums/windowsserver/en-US/5e6dc56d-9069-42e3-a7e3-87437cf8ed81/scheduled-tasks-run-in-the-default-user-profile ( No answer from microsoft yet ) I'm having the same issue. A scheduled task that we…
Alfz
  • 61
  • 1
  • 2
6
votes
3 answers

What user account should we use for scheduled tasks on a server with sensitive material?

I'm working in a team with 10 developers. We have servers set up which performs backup, automated build of software, automated deployment and more. Some of these servers contains sensentive material, such as login details to production systems…
nitramk
  • 203
  • 1
  • 3
  • 6
6
votes
1 answer

Scheduling a Task for every minute in Windows 2012

I need to schedule a Task inside of my Windows 2012 to run every minute, how would one accomplish that? This is my Task: C:\>C:\Users\Administrator\Downloads\wget\bin\wget.exe --spider --quiet http://XXX/XXX.aspx SYSTEM_WGETRC =…
alexus
  • 13,112
  • 32
  • 117
  • 174