Possible Duplicate:
Check for process already running in webfaction?
How can I check if a process is already being run using Python + Django on WebFaction hosting?
For example, my process name is myfile.py
Possible Duplicate:
Check for process already running in webfaction?
How can I check if a process is already being run using Python + Django on WebFaction hosting?
For example, my process name is myfile.py
You can use a pidfile with any programming language. It's very easy.
There are some examples in this question on StackOverflow.