CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: General Discussions: General Questions:
Every, say, ten minutes

 



Drew
Deleted

Jun 28, 2000, 12:41 PM

Post #1 of 2 (2884 views)
Every, say, ten minutes Can't Post

How would you get a perl script to execute every ten minutes? I have heard something about a cron function. I would really rather not use the sleep function for a ten minute sleep.


Jasmine
Administrator

Jun 29, 2000, 4:27 AM

Post #2 of 2 (2884 views)
Re: Every, say, ten minutes [In reply to] Can't Post

Assuming you're on a machine that supports cron, yes, you can set up a crontab that runs a script every 10 minutes. Before you get your server admin upset, make sure it's okay with them before you run a program so frequently.

For more info about cron, check out our "What are crontabs and how do I use them?" article, located at http://tlc.perlarchive.com/0001/04.shtml

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives