I want a script that will give me:
- Logging
- Log purging!
- Email errors!
- Prevent duplicate processes! (flock)
- Source an environment file!
- Anything else?
Hey, FYI I set this up for a friend and never actually used the code myself. No linux box to play with ATM.