A scheduled task is a job scheduled to run at a specific time and frequency and run a specific command on the operational system.

learn more… | top users | synonyms (1)

2
votes
0answers
14 views

Slurm jobs are pending, but resources are available

I use SLURM as a job scheduler and queue for a small cluster (single node with 64 cores). To submit a batch job I use: > sbatch run.sh Where run.sh looks like: #! /bin/bash #SBATCH --ntasks=4 ...
1
vote
3answers
8k views

How to convert a scheduled task from Xp to Windows 7

I have a backup of some .job files (i.e, scheduled tasks) from my old computer. I see that windows 7 does not support job files instead they accept xml files. So, i would like to know if there is a ...
0
votes
2answers
35 views

windows scheduler that runs every x minutes daily in the command line

Is there a way to schedule a task (.bat) through the command line that runs every 5 minutes daily? I also want it to run even if the user isn't logged on. What is the exact command line syntax?
1
vote
3answers
10k views

Why does my scheduled task fail with error (0x4)

I have a scheduled task that is supposed to run a batch file. The batch files runs file when called on it's own, but does not run when wrapped in a scheduled task. Here is what the dialog looks like: ...
0
votes
0answers
7 views

Automate answer for weekly scheduling doodle [on hold]

I'm looking for a way to automatically answer a regular scheduling doodle (doodle.com) where the link is sent out every week via email. More precisely, the doodle always looks the same, offering the ...
3
votes
3answers
10k views

Using Task Scheduler to Run a Task Before Shutdown

As of writing, the only options available are to "Begin the task": On a schedule At logon At startup On idle On an event At task modification/creation On connect to user session On disconnect from ...
2
votes
1answer
6 views

Does anyone have a Windows “at /every:” example to explain how to setup a batch file to run the first sunday of every month?

This is the one I have to run first day of the month, but I need to run it the first sunday of every month. at 13:00 /every:1 D:\DBMaintenance\MySc.bat Thanks
1
vote
4answers
135 views

Shut down PC at a determined time

I have a software (calibre ebook manager) that fetches news at 6 am. I want to do the following : Wake computer at 5:50 if not already on.(easily done in bios) A scheduler opens calibre at 5:55 ...
0
votes
1answer
46 views

Restart a computer at a given time with PowerShell

I'm looking for a way to restart a computer with PowerShell (Restart-Computer), at a given time (Example: 03:00AM). The PS-Script itself will run at a random time, when the user executes it, so it's ...
0
votes
0answers
17 views

How to schedule a task based on an application event?

I want to schedule the computer to be locked when a specific application displays a comment/notification above its Icon. Currently, I am trying to use the Task Scheduler in Windows 7 for this but do ...
1
vote
1answer
18 views

How Windows handles scheduled tasks when restarting computer?

I have an indefinitely running scheduled task that repeats every now and then and runs for few minutes. What happens when this task is running and I click restart or shutdown computer? Will Windows ...
0
votes
0answers
20 views

How to totally disable Microsoft Security Essentials Scheduled scan? [duplicate]

I have Win7 x64 with MSE installed, I made my own scripts for MSE scan and backup, jobs are starting at 4 am weekly. I'm using my router for WOL and scheduler for scan, backup and shutdown. Scheduled ...
1
vote
2answers
9k views

Windows scheduled tasks fail with 0x1, don't log errors

I have three Python scripts running overnight as scheduled tasks on a Windows Server 2008 VM. I can run them manually with no problems. But when I look at the Task Scheduler each morning, the first ...
9
votes
4answers
9k views

Starting scheduled task by detecting connection of USB device

I know it has been discussed that it is not possible to start an application from an usb drive upon connection due to limitations of autorun (or autoplay??) in Win 7. But it is possible to create a ...
0
votes
0answers
16 views

Scheduled Task to download file via http but the file name changes monthly

I'm trying to automate a process on my PC to download a file which is published every month. While the file name changes, the path stays the same. For example: ...
5
votes
4answers
33k views

How to monitor a folder and trigger a command-line action when a file is created or edited?

I need to set up some sort of a script on my Vista machine, so that whenever a file is added to a particular folder, it automatically triggers a background process that operates on the file. (The ...
0
votes
0answers
12 views

How do I mount as SYSTEM?

I want to mount a share as system. I need to run a TACKSCHEDULER task as "Run when not logged on", but I can't access my network drives: mount: R: on /cygdrive/r type ntfs ...
4
votes
4answers
17k views

Automatically close program at a scheduled time each day

Is there a way to automagically determine if a program is running and close it at scheduled time, say 3 am every day? Maybe use task scheduler to close said application? if this is possible any ...
-1
votes
0answers
27 views

Periodically check webpage for text presence or absence

Is there any way to periodically check if a webpage has (or does not have) certain text? For example, I want to know when a product, which is currently out of stock, gets in stock. I don't intend to ...
0
votes
0answers
11 views

Running a scheduled task as a domain user - C:\Users\TEMP is created

I am trying to run a scheduled task that runs as a domain admin user (let's call it DOMAIN\installer). Part of this scheduled task runs automated installers for our network. One such installer I have ...
0
votes
2answers
39 views

Automatically add screen shot to scheduled message in Outlook/office prank?

In Outlook (at least recent versions) it is possible to schedule messages, that is, write a message and then set it to be sent one week from now or similar. I wonder if it is possible to schedule ...
3
votes
1answer
61 views

Map a network drive to be used by a service

I am trying to map a network drive (the WD My Cloud HDD) to be used by a service (CrashPlan backup software) in Windows 8, something that I have achieved with this script: net use X: ...
3
votes
0answers
92 views

Unlock PC with Windows Task Scheduler

I need to set up a Scheduled Task to unlock Windows 7 PC at specific time. And second Task, to lock at other specific time. Is this possible by cmd.exe command, or I need to use some third party ...
1
vote
0answers
101 views

.bat script doesn't work by using window scheduler

i created a .bat script to perform daily folder compression. it is working fine when i double click the .bat file. However, it doesnt work when i include it in window scheduler. Below is the script: ...
0
votes
0answers
13 views

Start task according to bandwith speed?

How I can start task according to my downloading speed "Bandwidth". Lets say I want to start .bat file if my downloading speed didn't exceed 50 KB/s for more than 50 seconds. What tools should I have. ...
1
vote
2answers
7k views

VBScript in Windows 7 64bit Scheduled Task - Works with only run when logged in

So basically I have this VBScript that opens up an Excel 2010 instance, run a macro in it and close the spreadsheet. I am calling it using Scheduled Task to automate it. It ran beautifully when I was ...
0
votes
2answers
412 views

Running a powershell script at startup

I am writing a script to remove a computer from the domain, rename it, then add it back. It works fine when I set the trigger to AtLogOn but when I switch to AtStartUp I run into some issues. I get ...
0
votes
1answer
38 views

Windows task scheduler searching for the wrong file

I have a task that runs a .exe , It is a simple VB program that reads from a txt file, in the code I have this: My.Computer.FileSystem.OpenTextFileReader("test.txt") But when the scheduler runs ...
2
votes
4answers
23k views

Automatically delete old files from a specified folder?

I want to set up an automatic task that will automatically delete files older than X days from a specific folder. I'd prefer to do it without having to install any 3rd party software, but I'll be ok ...
0
votes
0answers
25 views

Setting a Scheduled Task with Windows XP Home Edition

I wanted to use this command-line tool in a batch : SCHTASKS /Create /SC DAILY /TN "MySoftware" /TR mysoftware.exe /ST 02:00 to create a Scheduled Task on a client's computer (I wanted to use a ...
0
votes
2answers
24 views

How to schedule application termination in Windows 8.1?

I have an app.exe file which I want to be terminated every monday at 19:00. Is it possible to schedule tha task which terminates app.exe ?
0
votes
3answers
1k views

windows 7 task schedule / mysqldump

Ive created a batch file to create a dump of a database and save it in a file with the current date as part of the file name. The batch file works brilliantly and all the data is saved correctly. ...
1
vote
1answer
51 views

How to capture a windows pop-up box event in task manager or by other method?

The pop-up box event is a windows error notification with a 'OK' click box. I want to auto-click the 'OK' or suppress the appearance of the pop-up box. But how to capture this event? I can't see ...
8
votes
5answers
14k views

How can I open a URL on a schedule in the default browser?

I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis. I know that if I was writing .Net code to do this, I could simply do something ...
0
votes
3answers
85 views

OSX - Schedule programs to start at night, close in morning

On Mac OSX, is there a program or method I could use to start an application (say Dropbox) at around 9pm at night and then close the application in the morning (say 9am). I've found Dropbox is making ...
0
votes
2answers
40 views

Synchronized script execution across multiple servers

I'm looking to run an automated task (a shell script) on multiple Ubuntu servers at the same time with as much timing accuracy as possible. Ideally, I'd like the time discrepancy between the start of ...
0
votes
1answer
21 views

OS X scan folder for new html files

I am looking for a way to scan a selected folder for new html files. The idea is to save html files on my mobile then have those files sync to my home system and then download (through a download ...
0
votes
2answers
89 views

Windows pausing service instead of restarting it when batch file called from task scheduler

I have set up a task in Windows Task Scheduler to run at a specific time each day. The task simply executes a batch file I've created to restart my Windows service. This is the contents of that ...
12
votes
3answers
18k views

Windows 7 Task Scheduler doesn't list my custom task(s)

I created a custom task from another application (Peachtree), but it never showed up in the Active Tasks list. So, I created it manually from within the Task Scheduler, but the task still hasn't ...
5
votes
4answers
9k views

Schedule Windows XP wallpaper change without additional apps

Ideally, I'd like to be able to do this through a batch file or VB script, so I can schedule it to run at different times of the day (dark wallpaper at night vs. light wallpaper at day). I am aware ...
4
votes
1answer
1k views

What is the difference between “stop the task if it runs longer than” inside Trigger and under Settings tab?

When I schedule a task in Windows Task Scheduler, I can set "stop the task if it runs longer than" inside task trigger or inside Settings tab. If I set it inside the trigger it does not automatically ...
3
votes
3answers
1k views

Task scheduling Batch Files in Vista

Wondering if there is some trick to scheduling a batch file to run in Vista. I have tried almost every setting/arg I can think of with no result other than an error, or the command window opening ...
0
votes
0answers
53 views

Create a Windows XP Scheduled Task to run at the logon of each user

On Windows Vista onwards it's possible to configure a scheduled task to run at the logon of every user by setting the schedule to "At Logon" and the user account to be a group of users (E.g., ...
-1
votes
1answer
207 views

Prevent a Task Scheduler to run at Windows Startup [duplicate]

To test the computer hardware, I have used Task Scheduler in Windows Server 2008 R2 to automatic reboot the computer direct after startup. I have now done many reboots to verify the hardware, and ...
0
votes
2answers
7k views

Task Scheduler is not executing the program

Problem: I have a .bat to send me an email with an attachment. When I execute it in cmd or in Windows Explorer, it works and I receive my email within 3-5 sec. I scheduled a task for its execution ...
0
votes
1answer
47 views

How do I create a scheduled task to connect to another wifi connection

I’m running Windows 8.1 and would like to set up a scheduled task to connect to another known wifi connection and then run the required scripts that I need. I’m aware of making a scheduled task run ...
2
votes
3answers
1k views

FTP batch file works from command line but not scheduled task

I want a windows scheduled task to execute an ftp batch file which will upload some files to my server. If i run the argument below from the command line then it executes successfully. ftp -i ...
1
vote
2answers
784 views

Powershell script to list scheduled tasks on remote systems

I want to write a PowerShell script that lists all Scheduled Tasks on remote systems, and includes the user account which will be used to run each task. The local system is running Windows 7, with ...
0
votes
0answers
27 views

Printer Does Not Exist To Service (Windows Scheduler) on Windows Server 2012 R2

We use a program that automates stuff and uses the Windows Scheduler to do so. We have an issue where we can run the app to print output manually, but when it's scheduled in the Windows Scheduler, the ...
2
votes
1answer
142 views

Adding attachment option to scheduled email vba script

I am learning VBA, but for the time being I am not that good and I found this macro: Scheduled and recurring email in Outlook? It sends an email thanks to a scheduled appointment set in the ...