![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NFS Daemon | Stin | SUN Solaris | 4 | 03-18-2008 05:53 AM |
| Daemon | santosh123 | High Level Programming | 2 | 02-19-2007 07:42 AM |
| Cron daemon | karine | UNIX for Dummies Questions & Answers | 3 | 11-18-2004 11:22 AM |
| log daemon | Esaia | High Level Programming | 0 | 09-11-2002 05:15 PM |
| daemon | bat_oyu | High Level Programming | 1 | 10-16-2001 11:57 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Daemon 101
I think I have an issue almost like Sammy_T's. I want to make a piece of code run as a daemon. I have some java, along with it 15 classpath's converted to a shell script that I can "runmyjavap". The script is just what I need to run after compiling it:
#!/bin/sh java -classpath : ...(from here all my classes and ends with my java file name) I can cron this thing and run it as a cronjob every half hour, because it's just renaming files based on requests. But I found out earlier that the request might be coming in very frequently like every minute. From what I read on a daemon I think it could solve my problem, if I could have one that sleeps every other minute and handles this. But I am clueless as how to and where in my shell script to add this implementation. Please help me understand if you can. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|