I can't answer path information, that it is server dependent. Your host can provide or if you have shell access you can find it.
Your php file can be placed anywhere in your document root. We usually put them in a descripttive folder.
One more item - I doubt your host will permit a cron to run every three minutes. Usually they will restrict to a couple of times every 24 hours.