How to refresh an application with bash: useful for Twitter clients

If you have the necessity to refresh or reload every a specified time an application that doesn't have this feature, you can adapt my bash script to your duties. Indeed it allows you to kill and reload an application in the same position after a fixed interval of time. I wrote it to refresh every 10 minutes the timeline of Corebird a third-party twitter client.