473,386 Members | 1,969 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to set schedule at Window XP

18
I have a Access 2000 file saved at the shared drive and needed to make backup files at other location.
I have heard about window xp have schedule function can do the work. But I do not know how and wish someone can kindly give me in steps how to set the PC can automitically make a backup each day after office hour ? (wish to keep 3 days backup and can replace the oldest file each day).
Thanks a lot!
Jan 29 '08 #1
5 2203
numberwhun
3,509 Expert Mod 2GB
I have a Access 2000 file saved at the shared drive and needed to make backup files at other location.
I have heard about window xp have schedule function can do the work. But I do not know how and wish someone can kindly give me in steps how to set the PC can automitically make a backup each day after office hour ? (wish to keep 3 days backup and can replace the oldest file each day).
Thanks a lot!
XP does have a "scheduler" in which you can set a task to run a program (say that would perform your backup as configured) at a specific day/time. You want to go to: Start -> All Programs -> Accessories -> System Tools -> Scheduled Tasks

That is the scheduler that Windows has for tasks to be automated. It is pretty self explanatory to use.

Regards,

Jeff
Jan 29 '08 #2
Fred Ho
18
So how can I make the schedule such that I can save the files for the backup at different location daily and the file names should look like..
e.g. abc28-01-2008.mdb
abc29-01-2008.mdb
abc30-01-2008.mdb
and after that more than 3 copies of the backup file, the new backup will replace the oldest one?
Can I write the batch file to satify such requirements?
And then I set the scheduler to run such batch file at the scheduled time daily?
What will be the content for the batch file?
Thanks a lot!
Jan 29 '08 #3
numberwhun
3,509 Expert Mod 2GB
So how can I make the schedule such that I can save the files for the backup at different location daily and the file names should look like..
e.g. abc28-01-2008.mdb
abc29-01-2008.mdb
abc30-01-2008.mdb
and after that more than 3 copies of the backup file, the new backup will replace the oldest one?
Can I write the batch file to satify such requirements?
And then I set the scheduler to run such batch file at the scheduled time daily?
What will be the content for the batch file?
Thanks a lot!
You would have to write a batch file or something that does exactly what you want. The scheduler is only for running jobs, not performing tasks like a script would. You create the batch file or script of your choice and set the scheduler up to run it at scheduled times.

Regards,

Jeff
Jan 29 '08 #4
Fred Ho
18
I have made 3 batch files:
copy g:\abc\abc.mdb g:\abc\history\abc1.mdb (batch file 1)
copy g:\abc\abc.mdb g:\abc\history\abc2.mdb (batch file 2)
copy g:\abc\abc.mdb g:\abc\history\abc3.mdb (batch file 3)
the schedule will run after 3 days,
how can I made the schedule can not run on every saturday and sunday?
willl it replace the file automically if abc1,abc2 and abc3 is already existed? And how to modify the batch files so that it will replace the files accordingly?
thz!
Jan 31 '08 #5
numberwhun
3,509 Expert Mod 2GB
I have made 3 batch files:
copy g:\abc\abc.mdb g:\abc\history\abc1.mdb (batch file 1)
copy g:\abc\abc.mdb g:\abc\history\abc2.mdb (batch file 2)
copy g:\abc\abc.mdb g:\abc\history\abc3.mdb (batch file 3)
the schedule will run after 3 days,
how can I made the schedule can not run on every saturday and sunday?
willl it replace the file automically if abc1,abc2 and abc3 is already existed? And how to modify the batch files so that it will replace the files accordingly?
thz!
If you don't want it to run on Saturday and Sunday, then don't schedule those days. As for what happens to the files, that is dependent on your scripts. The scheduler simply runs what you tell it, and that is ALL that it does. The actions that the ran program take are not dependent on what the scheduler says. You have to code in the batch file if you want something replaced or not. Unfortunately, I don't know much at all about Windows batch scripting.

Regards,

Jeff
Jan 31 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bob | last post by:
Hi, I run UDB 7.2 I have an ETL schema. I have a jobs flow to populate the warehouse schema. I run the flow manually ( "Run new step" from "Work in progress" window ) and everything works...
1
by: greg7224 | last post by:
I am currently working on a C# project that uses the Janus schedule controls, and am having trouble getting it to print correctly in Day view. The problem is that it will not print out the owners...
19
by: n0sPaM | last post by:
Is it possible to schedule an .ASPX page to run automatically, say every hour? N.B.
19
by: viki1967 | last post by:
Hi there. Hi have this script: <script language="javascript" type="text/javascript"> <!-- var fieldNames = new Array("IRE", "ISI", "IMI", "REL", "REV", "MAN", "SOP", "GUF", "FOR",...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.