Computing.Net > Forums > Programming > Scheduling a batch job

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Scheduling a batch job

Reply to Message Icon

Name: klint
Date: September 24, 2009 at 14:51:16 Pacific
OS: Windows Vista Ultimate SP2
CPU/Ram: 3GB
Product: Microsoft / Windows vista
Subcategory: Batch
Comment:

Hi,

I am thinking of creating an automated off-site
backup system for my PC. It will be a batch
file that contains various commands to run
WinRAR to archive all the users' home
directories, and then finally FTP all the archive
files to my hosted web space for safe keeping.

I want to run this batch file at night every week
when nobody is logged into the system. It
therefore needs to be a non-interactive job.

I've never done this before on Windows, so I
have some questions.

1. Is the above possible?

2. How do I get the batch job to create a log
file containing all the output of all the
commands? Can I specify this when I
schedule the weekly job, or do I have to put
redirections on every line of my batch file?

3. Is there any free software that does the
above, to save me reinventing the wheel?

Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: September 25, 2009 at 05:56:13 Pacific
Reply:

1. Depends on the command line options of Winrar, but I think so.

2. You can include the redirection in the scheduled task's Run box

3. Nothing free, that I know of.


0
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Scheduling a batch job

Run windows batch job from unix box www.computing.net/answers/programming/run-windows-batch-job-from-unix-box/11799.html

Batch Job to Copy folders www.computing.net/answers/programming/batch-job-to-copy-folders-/18383.html

Date question for a batch www.computing.net/answers/programming/date-question-for-a-batch/16789.html