Home / Microsoft / Microsoft DOS / Automatically running a batch file
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Automatically running a batch file  (Read 719 times)
mickscool
Guest
« on: September 01, 2005, 11:22:04 AM »

Hi Friends,
I want to write a batch file...that runs every night and automatically back ups my sql database.I know the mysql command that does so..but i need to know which commands to put in so that the file runs in at a fixed time everyday.and also where to place this file.Looking for your help.
Thanks
Mick
IP logged
Dusty
Egghead



Thanked: 72
Posts: 3,387

Experience: Beginner
OS: Windows XP


I could if she would, but she won't so I don't.

« Reply #1 on: September 02, 2005, 01:55:07 AM »

Are you running standalone DOS - if not please please please indicate which version of Windows!!!!!!!!!!!!!!!!!!
IP logged

One good deed is worth more than a year of good intentions.
mickscool
Guest
« Reply #2 on: September 02, 2005, 07:45:30 AM »

I am not running a standalone DOS ..its a windows 2003 server..can you please help me now.
Thanks
IP logged
Dusty
Egghead



Thanked: 72
Posts: 3,387

Experience: Beginner
OS: Windows XP


I could if she would, but she won't so I don't.

« Reply #3 on: September 02, 2005, 07:17:13 PM »

I don't know if I can help you but see here -

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/552ed70a-208d-48c4-8da8-2e27b530eac7.mspx

Looks likely that Win 2003 Server will support the AT command to schedule running your file at specific times provided the support tools are installed.
IP logged

One good deed is worth more than a year of good intentions.
jen140
Guest
« Reply #4 on: October 30, 2005, 02:44:32 PM »

Maybe you want thise : at 5:00PM /interactive /every:Su,M,T,W,Th,F,S cmd /c "path\programm" ?
IP logged
samanathon
Guest
« Reply #5 on: October 30, 2005, 05:10:22 PM »

Couldn't you just write a batch file using xcopy and then set a Scheduled Task, via the Control Panel to run every night?
IP logged
Sidewinder
Guru



Thanked: 97
Posts: 4,341

Experience: Familiar
OS: Windows 7

« Reply #6 on: October 30, 2005, 05:17:05 PM »

Indeed you could  samanathon however I don't think the poster is still waiting for an answer. It was posted Sept 1, 2005

Just a thought. 8)
IP logged

If you don't know where you are going, any road will get you there

                                                                            -Lewis Carroll
patio
Moderator
Genius



Thanked: 1069
Posts: 11,351

Experience: Beginner
OS: Windows 7


Maud' Dib

« Reply #7 on: October 31, 2005, 11:22:44 AM »

We'll wait.

:o

patio  8)
IP logged

   
"
All generalizations are false, including this one.  "
Gabby Ab
Guest
« Reply #8 on: November 09, 2005, 08:48:08 PM »

I am interested in seeing this work.

I have a batch file that I want to run every single night at say 5pm. Whats the command needed?
IP logged
uli_glueck
Guest
« Reply #9 on: November 09, 2005, 11:55:24 PM »

There was a topic not long ago where it is described.
the command is: at.
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Automatically running a batch file « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.086 seconds with 20 queries.