in reply to cron with perl
You could probably use something along the lines of apachectl which has features to control an Apache server similar to what you seem to want here.
The general idea is that the daemon process stores its PID in a file which a script can subsequently access and send signals to.
Take a look at perlipc which discusses signals (including a section on handling signals in daemons).
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cron with perl
by aquarium (Curate) on Nov 08, 2010 at 23:37 UTC | |
by Pstack (Scribe) on Nov 09, 2010 at 01:51 UTC | |
|
Re^2: cron with perl
by Pstack (Scribe) on Nov 09, 2010 at 01:30 UTC | |
|
Re^2: cron with perl
by Pstack (Scribe) on Nov 09, 2010 at 01:37 UTC |