|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
creating services
I have 6 perl scripts that I currently just have in an infinite loop. They constanly check a database and then perform thier actions if there is a new entry into the database. I would like to have them run as services so that I can controll how much processing power they use. They currenly use about 75% of the processor. How do I go about doing this?
|
|
#2
|
|||
|
|||
|
if you can make your scripts smart enough understand time stamps from either the DB records or your DB's auditing system, consider using sleep or maybe create a daemon using cron.
What about using DB procedures to execute what needs to be done. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > creating services |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|