added timeout

requirement for script to run every 30 seconds as Chron will only occur every 1 minute