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!

okay, i need to run a perl script each day at 1 am, automatically...

Status
Not open for further replies.

spewn

Programmer
May 7, 2001
1,034
0
0
i have a perl script that updates my site so the content is fresh, daily...

just short of me physically running the script every morning, how or what can i do to initiate the script every morning at a certain time - automatically?

what options do i have?

- g
 
google search for cron job

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
are you slurping some other websites content to use on your website?

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
slurping...lol, no...

i have a website that i designed in perl and it outputs html...once i save the pages as html, the information becomes static, although the info will change everyday...so, short of resaving each page every day, i wrote an update script to update every html page...

don't worry, it's my own site. i don't steal, jack or "slurp"...!!!

- g
 
You don't say what platform you ar eusing (Unix, Windows etc), but I run Apache & Perl on Windows 2000. I have two Perl scripts which I run every three minutes, one evry seven minutes and five every Sunday.

To do this I have set up scheuled taks using the Windows scgeduler. This works wonderfully for me.

Don't know about non-Windows32 platforms, though.
 
yes, task for windows, cron for linux/unix

don't worry, it's my own site. i don't steal, jack or "slurp"...!!!

OK, I just wanted to be sure. [smile]

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top