Php and search engine indexing

Hello folks

i have one doubt

file name : sms.php


<?php
//check all employee ids for expiry
//send sms to the once who's id has expired today.
?>

now i have above file in ftp. this file has no any links from other pages.
we have added this file to the crone job. so in the mid night it will run this script and send sms to ppl.
my question is:

while this script is in ftp, if a search engine / bot try to read this file (will it happend?), i am afraid it will send sms every time a search engine or bot is accessing. so do i need to ad ‘meta=robots’ tag to the php file header as shown below ?

echo "<!DOCTYPE html PUBLIC \\"-//W3C//DTD XHTML 1.0 Transitional//EN\\" \\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\\">
<html xmlns=\\"http://www.w3.org/1999/xhtml\\">
<head>
<meta http-equiv=\\"Content-Type\\" content=\\"text/html; charset=utf-8\\" />
<title>Untitled Document</title>
<META NAME=\\"ROBOTS\\" CONTENT=\\"NOINDEX, NOFOLLOW\\">
</head>";

//check all employee ids for expiry
//send sms to the once who's id has expired today.
.....
echo "</html>";

How will the bots know the file exists?

:rolleyes::D:rofl::x