|
Hellow Sir/Madam,
My mahine: Architecture: x86 family RAM : 256 Mb OS : Linux 6.2 Requirement: I want to create a daemon that would execute some cgi-scripts, once a day. What to choose? As a result of my research i found that there might be two ways to develop a daemon; a. Using network (socket) programming to establish a server and client. I found that it will not be feasible because my daemon would work on single machine so there is no need for a client/server. Also the server keep listening to a certain port. b. Another idea is to use IPC. I think that if i would create a process (daemon) and register it with the schedular of LInux Kernel so that process (daemon)activated once a day and could execute desired script. After executing the desired script the (process) daemon would again become IDLE, so minimizing the chances of eating CPU Time. Any Help or Suggestion? regards, --ahmed |
- Re: How to implement Daemon? Ahmed Shaikh
- Re: How to implement Daemon? Mark Mielke
- Re: How to implement Daemon? Ahmed Shaikh
