Answer the question
In order to leave comments, you need to log in
How to write background program for ubuntu?
For convenience, I decided to write for myself a small utility for ubuntu. The problem is, I've never done this before. The task is as follows:
When you enter a command, the ~$ myprog start
Program starts and sends a GET request to a remote server at intervals, say, 30 seconds. Depending on the answer, it displayed a standard notification in ubuntu with the text of the answer.
And on command ~$ myprog stop
it turned off.
Question: where can I find documentation, a description, or some examples of such an implementation?
Answer the question
In order to leave comments, you need to log in
Read about demons in Linux, you can find many "skeletons" of similar projects. For example habrahabr.ru/post/129207
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question