Hi People,
Not sure if this is possible or not but can you make a php page refresh every day.
Basically i have a script which emails me (30 days in advance) when my domain names are up for renewal, But i have to run this script everyday MANUALLY.
so I am looking for some sort of function that runs my script everyday automatically
Thanks
Alex
refresh page every day
Moderator: General Moderators
don't know about an actual PHP script but the way I do it is to use CRON (if you're running on a Linux box). just set the command line for the Cron as
/usr/bin/php-cgi -q /{LOCATION_OF_PHP_FILE} (replace the obvious
)
and then set the schedule. it will then run when ever you want and carry out what ever is in the script.
if you're running on Windows Server, I guess you could try and use Windows Scheduler, but I wouldn't know where to begin with that. Sorry
/usr/bin/php-cgi -q /{LOCATION_OF_PHP_FILE} (replace the obvious
and then set the schedule. it will then run when ever you want and carry out what ever is in the script.
if you're running on Windows Server, I guess you could try and use Windows Scheduler, but I wouldn't know where to begin with that. Sorry
re: refresh page every day
If your hosting provider does not allow cron jobs you can try an online cron utility like http://www.wsscheduler.com.