AppleScript "Kill" Command Error
You can do what you are trying to do using the killall command and referring directly to the application's name.

repeat
 delay 84600
 set app_name to "APPLICATION NAME"
 do shell script "killall " &amp; app_name
 delay 30
 tell application app_name to activate
end repeat