All Questions
10
questions
0
votes
0
answers
2k
views
mysql command using task scheduler in windows
have a script which stops and start the replication in MySQL. I am able to run this command in command prompt but unable to setup in task scheduler of windows. In CMD I'm using below step to run query:...
2
votes
0
answers
1k
views
How can I open the Windows Media Player interface with task scheduler
Since my waking clock is broken I want to use my computer, and I managed to make it launch a music through task scheduler, but I would like the interface to show when the task is being run, but ...
1
vote
0
answers
274
views
script with print screen and task scheduler problems
On a production system a script opens screens and sends them to hypersnapDX. Hypersnap then saves a picture in a folder which then is copied onto a server.
This script is done by a cmd script. The ...
1
vote
2
answers
4k
views
Why doesn't my Python script save the file when I use Task Scheduler?
I have a Python script that uses csv.writer to create a csv file. This works fine when I run it from the command line, but no file is created when I run the script using Windows Task Scheduler. The ...
2
votes
3
answers
20k
views
How can I force a scheduled .bat job to run in the foreground?
I have a simple .bat that runs a PHP script at the same time every day.
@echo ON
php C:\path\to\script.php argument
pause
It runs fine when I double-click the .bat file. And I set up a scheduled ...
3
votes
1
answer
2k
views
Win7 Task Scheduler Won't Run Copy Commands
I'm trying to run a patch file every morning at 4am. For whatever reason, the lines in the batch file that use robocopy.exe are skipped. I've also tried xcopy and cp(from UnxUtils). The batch file ...
3
votes
2
answers
19k
views
How do I get a .bat file to run in Task Scheduler at PC Startup?
Alright so I have been reading through the various answers on Super User for this question and no one has seemed to actually post a way of running a .bat file in Task Scheduler at PC startup. I would ...
5
votes
3
answers
8k
views
How to keep cmd open after task schedule
I am trying to create a really simple task that uses sdelete command as a scheduled task but when I run the task the CMD just flickers on and off and does not perform the task, so I want to see what ...
2
votes
1
answer
3k
views
Windows task scheduler not running batch file on network drive
I have a batch file that I'd like to run with the Task Scheduler. Running the batch file manually works fine. If the batch file resides on the C:\ drive, task scheduler runs it fine, but if the ...
7
votes
5
answers
17k
views
What is the command line to schedule a task to be executed once and soon?
I know there is the at and schtasks.
But I couldn't figure out how to use them to execute a task soon and once.
I have read about a soon command, but there isn't such command in my Windows version.
I ...