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

learn more… | top users | synonyms (1)

1
vote
2answers
342 views

Windows Server 2008 ask to change admin password and scheduled tasks stop working

Every time Windows Server 2008 R2 asks me to change the admin password all the backup related scheduled task stop working, is there any way to avoid this? Backup is a serious thing an have to work ...
6
votes
3answers
2k views

Is it bad to edit cron file manually?

It is usually instructed to introduce new cron jobs through command lines; but I found it easier (with a better control of current cron tasks) to manually edit (in text editor) the user cron file like ...
6
votes
5answers
6k views

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 ...
1
vote
2answers
363 views

pass paramter to Schtasks

how can i run schtasks from command line such that i can pass in parameters during run time. i have a batch job which expects parameters during run-time that is created in scheduled task. i cannot ...
1
vote
4answers
776 views

How do you schedule jobs across a server cluster?

We have jobs that run on single servers on various schedules, but we need to run them on a cluster of servers regardless of which server is going to run them. It is as if we need a cluster-aware CRON ...
0
votes
2answers
2k views

Powershell script works from command line, not from task scheduler. Why?

This is driving me crazy! My powershell script works from the command line, but not from task scheduler. This is Powershell v1 on Server 2008 R2 Enterprise. From the command line, I type: c:\> ...
1
vote
2answers
94 views

Setting up a multi-user scheduled job?

What's the best practice for setting up a scheduled job (like a software build) so that it's not tied to a single user? Our situation is that we need to schedule a job that runs overnight on a ...
0
votes
1answer
439 views

Use Powershell to read XML comments

So I'm working on a way to use Powershell to get a list of scheduled tasks. Through my research, I determined that the only way to get "most" tasks is to use SCHTASKS. This command does allow for XML ...
1
vote
4answers
2k views

How can I automate pulling files via putty's psftp?

I have a Windows Server 2003 box and it is using psftp to connect to a remote linux machine and download files every hour. I have two main challenges with this machine: First Scheduled tasks are ...
1
vote
1answer
200 views

Windows Server 2008 - Simple Method for Web Request to a Maintenance Page URL?

I'd like to setup an ASP.NET page that performs some maintenance for a web application. What is a simple method for making a web request to the URL for this maintenance page? I typically use ...
0
votes
3answers
116 views

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
0
votes
1answer
268 views

Alternative options for scheduled job queue?

I really like using queues for interprocess communication. It's great to be able to spin up a ton of workers and be guaranteed that a job in the queue is only run once, is treated fairly, can be ...
1
vote
2answers
536 views

How do I import multiple tasks from a XML in Windows Server 2008?

I have all the tasks from a server in a XML file obtained using schtasks /Query /XML ONE>C:\schedtasksBackup.xml Now, I want to import all the tasks in another server. All the info explains how ...
2
votes
1answer
993 views

How to schedule a startup task that recurrs

I'm having a problem creating a scheduled task on Windows Server 2003. The task needs to run at system start and then every 15 minutes after that, unless it's already running. Sounds easy! But I ...
0
votes
3answers
316 views

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 ...
1
vote
1answer
420 views

Do one time triggered tasks scheduled to repeat periodically survive a reboot?

I had set up a task to trigger on boot, then repeat every 5 minutes. To my disappointment, running the task did not start the "repeat" functionality. Rather than reboot, I added another trigger to ...
0
votes
1answer
472 views

What's the difference between cron and services like Supervisord?

Recently I came across supervisor while researching beanstalk stuff. Can someone explain to me why I might use a process management service like that instead of plain old cron jobs?
3
votes
1answer
3k views

How to delete scheduled task from command line without confirmation? (schtasks delete)

I can create a task from command line like this: schtasks /create /tn SomeTask /tr "do.bat arg1 arg2" /sc ONCE /st 00:00:00 /sd 01/01/1991 and now I need to delete it. However the command needs to ...
1
vote
1answer
514 views

Create alert notification system for performance counters (logman, task scheduler, events)

I have a Windows Server 2008 SP2 without a graphical user interface (Windows Azure). I need to setup an alert for performance counters that reaches some threshold and then run some command (send an ...
1
vote
0answers
71 views

Windows task scheduler - Interdependent 'Action' s

I have a scheduled task set up in Windows task scheduler. It runs on a particular time of the day. Once the job is completed (action 1 - the job itself) there is another Action (action 2) that is a ...
2
votes
3answers
626 views

Rename file in folder whenever it's created?

I need to find a way to automatically rename all files that are created within a specific directory on a Windows 2008r2 file server. This needs to be done more or less instantanously, so I can't have ...
1
vote
1answer
1k views

Scheduled task stops working when I log out of remote desktop connection to server

I have a 'long-running' (run at startup, don't terminate) scheduled task set up to run on a server. When I remote-desktop into the server using the same domain account as the scheduled task, and then ...
1
vote
1answer
61 views

Start non-terminable program upon user logon

I would like to start a program in the background if an Active Directory User of a specific group logs on. This program should not be terminable by the user itself. I have tried to create a Task ...
10
votes
6answers
373 views

50 workstations, 1 .bat file on a network server, will it work?

I have a .bat file to perform maintenance on machines. I put the .bat file on a network attached server for all workstations to access it. If I were to use the windows scheduler to make that .bat ...
0
votes
1answer
126 views

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?
0
votes
1answer
143 views

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 ...
1
vote
1answer
55 views

Probable IIS changes after update

We have developed a module which enters Windows Scheduled tasks in on our server that are calling KeepAlive pages on different servers. Normally everything went fine, but since 21-07-2011 on 17:00 all ...
0
votes
1answer
488 views

Server 2008 issue running batch file

For the life of me, I can't seem to get a batch file running in Server 2008 Task Scheduler, despite it not having the common problems I've seen before. Problem so far: I have a batch file that ...
1
vote
1answer
199 views

How to find out what is wrong with a Scheduled Task when it doesn't error

I have a number of batch files, which all work when ran separably to back up various Postgres dbs across the network. However when ran through task scheduler the backup files aren't created. There are ...
2
votes
2answers
10k views

Error 0xE0434F4D as 'Last Run Result' of a Windows Scheduled Task

Hallo, i get the error 0xE0434F4D as 'Last Run Result' of a Scheduled Task on Windows Server 2008. I have checked the permissions of the user that is running the scheduled task, and the user does ...
1
vote
0answers
438 views

Troubleshooting 'Could Not Start' scheduled task error:

I'm trying to run snapshot on my server to back up the drive onto a local NAS server. I'm currently using this on a Win2k, Win2k3, and Win2k8 servers. Both the Win2k and Win2k8 servers are correctly ...
0
votes
3answers
787 views

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 ...
1
vote
1answer
443 views

Do not start scheduled task on windows until the previous one is finished

I have a program that is running infinitely, and I have it scheduled to run every 10 minutes. How to make sure that the program will not start in 10 mins, if the previous (10 min old task) task is ...
0
votes
1answer
240 views

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 ...
1
vote
1answer
135 views

Stopping/Starting Windows services

I have four Windows services which start up automatically when the machine starts. Thereafter, I want to restart those services every 8 hours in a particular order. e.g. Stop s1,s2,s3,s4 and than ...
1
vote
1answer
131 views

Interruptible, incremental backup tool with timing strategies

Basically, I'm searching for a rdiff-backup that can be safely interrupted (network disconnection, computer switch off, sleep), and that can develop scheduling strategies to in order to avoid ...
0
votes
1answer
165 views

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?
4
votes
2answers
306 views

How do you designate where a Scheduled Task is created?

Is there an option in possibly SCHTASKS to define where a scheduled job is actually created?
0
votes
1answer
55 views

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

Windows 2008 Scheduled Tasks and Parallel instance issue

I have a scheduled task launching a bat file which runs a CLI PHP script. The scheduled task is configured to run every 5 minutes, and run multiple instances in parallel. However, windows is ...
2
votes
2answers
87 views

Why isn't my SQL Server 08 Maintenance plan running at all?

I have this maintenance plan scheduled on my SQL Server 08... however, it never runs! It's been setup for 2 weeks now and I have not seen a single backup created, what am I doing wrong? How do I get ...
4
votes
2answers
7k views

How to trigger a task at any change on a folder with Windows Server Task Scheduler?

Is it possible to start a script every time a folder tree is modified. E.g.: root dir1 file1 dir2 file1 file2 root would be listened and if, for example, file2 is modified or a new ...
1
vote
2answers
237 views

AT jobs not running

Ubuntu 10.04 Server I am using at to have a bash script schedule itself to run again a particular interval after it completes: (here is the last line of that script) echo "$0" | at tomorrow + ...
2
votes
1answer
614 views

Scheduling server reboot

How can I schedule an automatic reboot of my server with CentOS via terminal or via plesk every 12 hours?
1
vote
1answer
165 views

Why no job history despite manually triggering my scheduled job (on Windows 2008)?

I have just added a scheduled job in Windows for the first time in my life (I'm a Linux dude). The goal is to run a python script once every night and the problem is I can't understand why the ...
1
vote
2answers
1k views

Windows 2008 R2 Scheduled Task Not Running With Admin Privileges even if granted?

I have a scheduled task that is running as USER. I have checked the box "Run with highest privileges" in the scheduled task properties. The task is a powershell script that, among other things, ...
2
votes
2answers
653 views

Scheduling a Perl script with output redirection

I'm trying to schedule a Perl script to be run from the Windows task scheduler and have the output be redirected to a text file. This seems straight forward, but it's not following the redirection, ...
0
votes
2answers
3k views

When ran as a scheduled task, cannot save an Excel workbook when using Excel.Application COM object in PowerShell

I'm having an issue where I've automated creating an Excel.Application COM object, add some data into a workbook, and then saving the document as an xlsx. This works fine if: I'm already in ...
1
vote
3answers
3k views

Group Policy Task Schedule deployed to User Configuration not working, works when in Computer Configuration?

I added a Scheduled Task on my Windows 2008 R2 Domain Controller in the Group Policy Manager: MyDomain Policy User Configuration Preferences Control Panel Settings ...
0
votes
2answers
268 views

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 ...