Does anyone have a simple but effective script which can be used with
If I simply tell the program itself to run on cron, I may get several copies running simultaneously. This program is not smart enough to test whether or not it is already active before firing up another copy of itself.
asked Nov 11 '11 at 18:35
Yes. All you need to do is to create a simple bash script like this:
Then, run the program on a short cron job, like this:
In this example, I have named the script
The script itself also uses the