Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

Rep: Reputation: 0
Run every minute

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?

Old 10-11-2010, 04:47 AM   #2
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.


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 03:11 PM.

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