To know for sure that its getting called from the OEM, stop the management server and see whether your database is getting shutdown.

Ceck your script whether it does any shutdown, inappropriately. Also check your job schedule on the server like the crontab or at to see whether there are any other scripts that are getting executed appart from the OEM which would do this shutdown...

Sam