Before of first, I'm a Linux (administrator|developer) newbie.
I need to run a bash script every 5 seconds, it's very simple; export service's information to text files.
I try to do this with cron daemon, but it's run every minute at least.
I'm discover Skeleton script and have many questions about this:
- I need write some special code in my bash file?
- How to run every 5 seconds?
- There are a best practices manual?