A scheduled task is a job scheduled to run at a specific time and frequency and run a specific command on the operational system.
1
vote
3answers
13k 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 ...
1
vote
1answer
4k views
Scheduled task giving last run result 0x80041324
I've got a scheduled task set up in my Windows 7 machine which is meant to run a BAT file when I'm not around, i.e. the machine has been idle for 15 minutes.
Does anyone know how to track down the ...
0
votes
2answers
8k views
Run a batch file with windows task scheduler
I have a batch file daily.bat, this is the code:
cd C:\inetpub\wwwroot\infoweb\factuur\cron
c:\PHP\php.exe -f ./cron_pdf.php
ftp -s:ftp_upload.txt ftp.infoweb.be
And I created a task ...
0
votes
0answers
516 views
Problem with running batch file as scheduled task
I am trying to setup my rsync script to run automatically. It uses a key file for authetnication so there is no issue of missin ginput or something.
I have user a.
In user a's profile live a batch ...
1
vote
2answers
1k views
Running batch file through a service
I'm trying to schedule a batch file to run through a third party application, however the output file doesn't get created in the directory. If I run the .BAT file from the command line, it works ...
2
votes
3answers
2k views
Starting scheduled task by detecting connection of USB drive
I know it has been discussed before several times that it is not possible to start an application from an usb drive when connecting it due to limitations of autorun (or autoplay??) in Win 7. But it is ...
1
vote
1answer
5k views
Windows 7 scheduled task returns 0x2
I have identical scheduled tasks running in Windows XP Pro and Windows 7. The XP Pro one runs fine, the Windows 7 one always returns 0x2 (which means, "The system cannot find the file specified"; ...
2
votes
2answers
551 views
How to restrict use of a computer?
Suppose that some person is insomniac because of a bad habit of chatting on the IRC every night until 3AM. That completely ruins this person's life because he is unable to wake up on time to attend ...
2
votes
1answer
243 views
Will a scheduled task be blocked if another user is logged in?
I have a scheduled task set to run when logged on or off, and it seems to work, but if a different user is logged into the machine (the machine is on a domain, so a different domain user), will the ...
2
votes
2answers
1k views
Scheduled task to restart server and software to monitor server
I have a windows server 2003 that runs low on memory and to solve the problem I restart it. So to help with this I want to set up a scheduled task that restarts the server every night. Any tips on how ...
0
votes
2answers
909 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.
...
0
votes
1answer
1k views
How do I kill an unattended scheduled task?
I have a runaway windows task, if I were running it as a logged in user I would use Process Explorer (procexpe.exe) and look for the related cmd.exe and kill it there, but this one is running with a ...
1
vote
3answers
76 views
How can I determine which tasks/programs are running during idle?
I'm running Windows 7 and I see lots of activity when the machine is idle. How can I filter or view the tasks that are running when idle?
1
vote
2answers
43 views
Queuing up blog posts from offline
I have a Blogger blog and I will be going for long periods of time when I can only access the web via dial-up for short periods in the middle of the night (much like the so-called "flash sessions" ...
0
votes
5answers
1k views
Free Windows software to schedule upload to FTP server
i am searching for a software like turboftp, it allows me to setup sheduled tasks and upload some folder to my ftp folder.
Important is, it must be free.
I have a lot of files in this folder, so i ...
2
votes
5answers
5k views
How to execute a scheduled task with “schtasks” without opening a new command line window?
I have a batch file that creates a scheduled task using schtasks like this:
schtasks /create /tn my_task_name
/tr "...\my_path\my_task.bat"
/sc daily
...
1
vote
1answer
1k views
Why “schtasks” does not run my job?
I scheduled a task on Windows-XP using schtasks utility, but the task does not run. Here is what I see in the SchedLgU.Txt log file:
"MySQL Automatic Backup.job" (WampServer) 10/2/2010 6:36:43 PM ** ...
1
vote
1answer
409 views
Why is the “at” command on Windows XP not behaving as expected?
On Windows XP I'm trying to add a job like this:
at 17:07 /every:s dir
I expect dir to be executed every Saturday at 17:07, however I don't see anything happens in the command line window.
Here ...
2
votes
1answer
493 views
Scheduled Task Priority and Paging problems
I just scheduled a task in my Windows 7, and I have 2 problems with it:
The process starting with Below Normal priority.
Even after manually changing the priority to Normal (via Task Manager), the ...
2
votes
3answers
2k views
network path not found error on creating schtasks
I am getting "ERROR: Network path was not found" when I try to create a scheduled task on my local machine.
I am using this command at the command prompt: schtasks /tn taskname /tr taskpath /sc minute ...
0
votes
4answers
554 views
Program freeware - reminder that blinks a message on a computer screen
Do you know a freeware program - reminder that blinks a message on a computer screen
and can be scheduled for a certain time, let's say the hour when you may quit your work
place and go home?
...
0
votes
3answers
6k views
scheduled task last result 0xff
Where can I find the meaning of 0xff in the scheduled task last result field?
1
vote
4answers
2k views
Scheduling starting a service after another service
I have a service that needs to be started only AFTER another service. Is there some way to configure the service to only start once another has finished starting?
Obviously, I could use a delayed ...
1
vote
1answer
527 views
Windows 7: Using schtasks to run on a WinServer2003
I need to run several scheduled tasks remotely on a WinServer2003 machine. When my OS was WinXP-32 it worked quite fine with a command like "schtasks /run /s \\xxx.xxx.xxx.xxx /tn ScheduledTaskName".
...
0
votes
1answer
310 views
Win2008 - Use task scheduler to open a password protected web page every n minutes?
I already know how to use task scheduler to open a web page that does not require login (eg http://google.com).
But is it possible to open a web page that requires a login and automatically enter ...
0
votes
1answer
704 views
How do I keep a scheduled task running even though no user is logged in (Windows XP)?
I wrote a temperature logger program and entered it as a scheduled task in Windows XP.
So far, I was able to achieve this objective:
1. Get the task to run even before anyone logs in (i.e. at the ...
0
votes
3answers
295 views
Most useful automated tasks? [closed]
I've just read the Most useful AutoHotKey scripts question and that got me thinking about automation and repetitive tasks.
Which automated task, once you got it in place and functioning, really made ...
1
vote
2answers
415 views
WIndows XP: is it possible to schedule tasks just before shutdown
I need to do series of tasks like take backups just before my PC shutsdown. I am not permitted to use any downloaded tool for doing this. So my idea is to use batch files to do these repeat tasks.
My ...
1
vote
1answer
2k views
How to schedule specific files archiving ( 7-zip ) on Windows
I have directory with *.wek files. Each day some application adds there about 10 new files. I want to archive only those 10 new files at certain time of the day. I've read about 7-zip mechanism but i ...
2
votes
1answer
5k 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 ...
3
votes
3answers
6k views
2
votes
2answers
213 views
Windows scheduled Task - Stopping Console w/ error & Re-starting the service
How can I go by setting up a scheduled task that will cancel a java console that outputs a heap error and then start it up again?
I need to restart my wowza service because of some java heap ...
0
votes
2answers
1k views
Windows scheduled Task - Stopping & Starting a service
How can I go by setting up a scheduled task that will cancel a java console and then start it up again?
I need to restart my wowza service because of some java heap allocating memory error that seems ...
4
votes
2answers
791 views
How to have the Scheduler retry a task when it has failed with a specific error code?
I have a cmd file which executes an application (exe) that can return a specific error code in some cases. This cmd is launched by the Scheduler every day.
If it failed with this specific error, I ...
0
votes
1answer
347 views
Can I run a WinForms app from the Task Scheduler and have it press a button?
I'm on Win7. I've a small program (that I didn't write) which contains a single button. I need this to be run on a schedule and the button pressed (the app can then be closed).
I have set up the Task ...
4
votes
4answers
3k views
Windows Task Scheduler on File change
I am trying to synchronise my files between a Win7 Starter laptop and WinXP workstation.
As Win7 Starter has limited sync support, I installed SyncToy 2.1 and it works fine. However, it requires my ...
0
votes
1answer
320 views
How to automatically convert all video files in a folder at a scheduled time?
More specifically, how do I convert MPG files to 3GP everyday at 3.00am?
C:\TV\*.mpg -> C:\TV\*.3gp
It would be more convenient if one video converter program could do all of this but I'm open ...
1
vote
1answer
138 views
How to shedule time machine backup
the standard backup interval for Time Machine is 1 hour.
In plist-file, i changed it to one day.
But, i need more tweak - to launch Time Machine backup at the specified time of day.
I prefer making ...
4
votes
9answers
881 views
How can I write a cron job that will block my internet from 7pm to 7am? (So I can get some sleep)
I am using OSX 10.6 and it has cron built in. How can I write a cron job that will block my internet from 7pm to 7am every day?
Im sure this must be simple but I could only find one example online ...
0
votes
1answer
477 views
Running an Automator task at night
I've just created an Automator workflow and I'm using crontab to execute it at night.
The problem is that, after a while, the machine is going to sleep and a password is required (this is the intended ...
6
votes
3answers
1k views
Is there any way to execute something when closing the laptop's lid?
I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid.
My question aims to be generic, both for Windows and Linux. Something useful ...
0
votes
0answers
417 views
Script for run script on vbs
Hello everybody I have a script on vbscript Dim WSHShell, WinDir, Value, wshProcEnv, fso, Spath
Set WSHShell = CreateObject("WScript.Shell")
Dim objFSO, objFileCopy
Dim strFilePath, strDestination
...
1
vote
3answers
3k views
How to stop scheduled chkdisk on windows 7?
I have a problem with windows 7 64-bit. I was trying out chkdsk command line options and scheduled a chddsk /r on next start. After that I disassembled the laptop on which I set the chkdsk. After I ...
4
votes
3answers
552 views
linux shell, keep task alive for specified time
I am looking for a tool to keep a task alive (restarting if necessary) for a specified amount of time (in seconds), and then kill it and stop. For example: keep_for 3600 rsync foo bar:faz should for ...
1
vote
1answer
5k views
avoiding console window display when scheduled task runs batch file
I have a small batch file which xcopies some files from one folder to another which I've scheduled (via windows scheduled tasks) to run every 1 hour:
@echo off
xcopy c:\foo c:\bar /E /C /F /Y
Since ...
0
votes
2answers
145 views
How to reconnect to Remote Session in a script?
I need to persist a Remote desktop connection across a reboot of a Terminal server. I'm thinking that it would be something like a scheduled task that would run periodically and check the running ...
2
votes
2answers
2k views
Scheduled task to map a network drive runs, but doesn't map the drive
I have a task set up to run whenever the computer is logged onto that deletes all network folders and maps a network drive. Here is what is in the batch file:
@echo off
net use * /delete /y
net use ...
1
vote
1answer
271 views
Invoking an MMC Snap-in function from Windows command shell: is it possible?
I need to execute a MMC Snap-in function from the Command Shell of a Windows computer. I need it to schedule this command in the same Windows PC and executes in background.
Probably this questions ...
2
votes
3answers
963 views
Windows XP - Run task every minute - minimized?
My company seems to be hit by a virus that calls shutdown -r on all workstations. Until IT figures it out, I want to:
run a console program (shutdown-a) every minute
without it flashing a cmd.exe ...
1
vote
2answers
2k views
“at” command on Ubuntu
I want to list using the "at" command.
I try this:
pedro@Pedro-PC:~$ ls -l | at 10:27
warning: commands will be executed using /bin/sh
job 5 at Tue Apr 20 10:27:00 2010
But doesn't work.