Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run a perl script at a particular time of the day on NT

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
I have written a small script to read some text files received over ftp and load it on to MS SQL server.
But the problem is I have to run the script every day at a specific time.
I am on Windows Nt environment.
Any help will be appreciated.
Thanks
Dibakar
 
Hi Dibakar

Use the "At" command on NT. Refer to NT help
on usage of this command. You can schedule
tasks for yoru machine to run commands at
specific intervals and also repeat it.

Example:
at \\marketing 00:00 /every:5,10,15,20,25,30 archive

This schedules an archive activity at 00:00 hrs on every 5th day of the month specified.

Rajeev
 
Try the Task Scheduler on NT. Then browse for your scripts and schedule your jobs as needed.

The path: Winnt\Tasks\Add Schedule Task =================
Bad Company Music
=================
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top