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
2 answers

PowerShell script works from command line, not from Task Scheduler. Why?

My PowerShell script works from the command line, but not from Task_Scheduler. This is PowerShell v1 on Windows Server 2008 R2 Enterprise. From the command line, I type: c:\> powershell -File "C:\Program Files\mystuff\foo.ps1" My one-line…
Jesse
  • 1,910
  • 3
  • 23
  • 28
0
votes
3 answers

crontab settings

I'm having trouble running a cron job at particular times during the day. Will this crontab setting run the command at 3am, 6am, noon, 6pm, and 9pm? 0 3,6,12,18,21 * * * command
MB34
  • 167
  • 2
  • 10
0
votes
3 answers

Windows Server 2008 R2 Scheduled Operations

Goodmorning everyone, I'm a newbie Windows 2008 s.a., and I'm stuck with a strange problem. I've made a very simple bat file that stops the Apache HTTP Server, copies a file and then restart the webserver (yes, this is stupid, but this is what they…
IssamTP
  • 175
  • 3
  • 12
0
votes
1 answer

Windows Server 2008 Task Scheduler

I have a task that waits for a user to enter any key to die. I have that task scheduled twice a day. However if the window is still up it will not run the task again. Is there any way around this?
Joe Tyman
  • 137
  • 5
0
votes
1 answer

Remote EMS Script as Scheduled Task Without Credentials

I have an Exchange script that I want to schedule to run once a month. In our environment we have a server which runs all scripts and scheduled tasks, so for policy reasons I need to run this script remotely from here rather than on the Exchange…
Matt
  • 1,893
  • 5
  • 28
  • 40
0
votes
3 answers

Windows Scheduler with local system account

I'm trying to schedule a windows scheduler job on Windows 2008 R2 using a Local System Account of another box. Could anyone please tell me whether this is possible? Scenario: I've Server A where windows scheduler will be scheduled. This scheduler…
flybyte
  • 111
  • 1
  • 5
0
votes
1 answer

Autosys - triggering a job on machine reboot

We're using Autosys (Computer Associates) to periodically restart some of our app servers. Can we configure Autosys to run the job when the machine reboots, regardless of time? Currently if our server falls over we have to restart the jobs manually…
0
votes
1 answer

automatically start/stop ALL scheduled tasks remotely

i have scheduled tasks on a windows 2003 server machine. i would like clients to be able to start/stop all the scheduled tasks on this machine. how can i do this?
Alex Gordon
  • 455
  • 3
  • 14
  • 31
0
votes
4 answers

Will scheduled tasks run if I am not logged in?

I have some tasks that are scheduled to run on XP and I am wondering if I have to be logged in for them to run? Does anyone know? Thanks!
Micah
  • 344
  • 3
  • 9
  • 20
0
votes
1 answer

windows 2003 server scheduled task resources

It seems I've suddenly become sys admin for our windows 2003 server boxes, despite having no experience with this. At the moment we're having issues with scheduled tasks and I have no idea where to really start with them. They seem to be a…
Jarede
  • 115
  • 6
0
votes
2 answers

Batch command to schedule multiple servers to shutdown

Our company is in the middle of a move between buildings. I've been asked to schedule the majority of our servers to shutdown at midday tomorrow. They already have a scheduled task for this, which occurred in the past, and occurred once only. I…
Steve
  • 365
  • 2
  • 7
  • 18
0
votes
1 answer

Execute an event at exactly midnight of the 1st day of every month

I am using Windows XP as OS in my machine. I need to execute an event at exactly midnight of the 1st day of every month. e.g.: 2011-05-01 12:00 AM.
0
votes
2 answers

Startup Script + Local System user = no functional program UI

I currently have a group policy startup script (CMD file). It runs during startup, as expected, but there is no UI for the program the script invokes. For example purposes, let's say I have this command as my startup script: rundll32…
0
votes
3 answers

Task Scheduler doesn't have an option for my task

I need to schedule a job to run on the 25th of each month. If the 25th falls on a weekend I need the job scheduled on last Friday before the 25th. The Windows Task Scheduler doesn't have an option for this kind of task. Can anybody tell me what I…
user77709
  • 3
  • 1
0
votes
2 answers

Problem with scheduled task - portions of script do not execute

I am having a problem with portions of powershell scripts not executing when the script runs from a scheduled task. When manually executed, it operates just fine. For example, I have the following in a script: add-content c:\some_folder\output.txt…
Alex
  • 428
  • 1
  • 9
  • 14