LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-11-2010, 04:31 AM   #1
smc2
LQ Newbie
 
Registered: Apr 2010
Posts: 29

Rep: Reputation: 0
Run every minute


Hi..
I am running a perl script.
as it is runnig, this script should do another work every minute,
How can I understand a minute have been passed?

Thanks.
 
Old 10-11-2010, 04:47 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Put it into while loop with the sleep() function.
 
  


Reply

Tags
perl, time


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
crontab - schedule job to run every minute Hi_This_is_Dev Linux - General 18 04-28-2010 12:52 PM
crontab: minute hour or hour minute rjo98 Linux - Newbie 2 11-04-2009 03:09 PM
One-minute ldconfig!? xoi Linux - Newbie 2 06-17-2006 03:40 PM
want to run program every minute, crontab???? poj Linux - General 4 09-19-2005 04:29 PM
A few last minute issues. raid517 Linux - Software 1 08-28-2004 05:25 PM


All times are GMT -5. The time now is 05:09 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration