Answer the question
In order to leave comments, you need to log in
How to properly organize the smooth operation of the process?
Hello.
Colleagues, how to organize the smooth operation of the process in the most correct and high-quality way on centos 6?
The process should every 2 sec. open the URL.
It is necessary that the process can be controlled (started and stopped).
The process should only run 1 (no duplication). Those. if a process is running, the same process should not be started.
Thanks to all.
Answer the question
In order to leave comments, you need to log in
Actually, most of the time processes that work like this are written as daemons.
There are a million examples.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question