centerwork Posted November 2, 2007 Share Posted November 2, 2007 I am looking for a way to have a script run on my server with out the browser requesting it. The script's purpose is to select a winner from my customer database. Then when the winner is selected the script will email them. Writing the script is not the problem just finding a way to have it run on a specific date with out having someone request the page in order for the script to run. I have looked over all the net trying to find a way to accomplish this but have so far come up empty handed, can anyone suggest a way for me to accomplish this? Quote Link to comment https://forums.phpfreaks.com/topic/75780-solved-php-script-activated-by-the-server-not-a-browser-on-a-specific-date-or-time/ Share on other sites More sharing options...
pocobueno1388 Posted November 2, 2007 Share Posted November 2, 2007 You need to setup a cron job. You can usually set them up from your hosts control panel. Some hosts don't offer these, so you need to check if they do or not. You can probably find loads of information on google if you search "cron job". Quote Link to comment https://forums.phpfreaks.com/topic/75780-solved-php-script-activated-by-the-server-not-a-browser-on-a-specific-date-or-time/#findComment-383515 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.