I am trying to use a cronjob to execute a php file on a unix webserver (I use godaddy for hosting). But I am generally new to web dev., so I am unsure how to actually make sure the file is executing. The job just needs to run a php script everyday at 2:15 AM. this is what I have:
MAILTO=cron@email.domain.com
15 2 * * * http://mydomainname.com/refresh.php
How do I specify the file name to run, doesn't seem like I should give it a URL? Not sure where to find the file path on godaddy... Do I just load this as a .txt file?
Thanks