hi......... i am doing a project using php,apache and mysql on xp windows platform which involves storing of student details into table by registering and the confirmation is sent to mail which contains further link......... my problem is i have to delete the student details in the table if he dont follow the link sent to the mail after 20 days? how can i do it? is it possible to invoke a php script at regular intervals of time that will check the above problem?
Windows has its own version of Cron Jobs, called Scheduled Tasks. You can find it under Accessories > System Tools > Scheduled Tasks. To run a script via this you can create a .bat file, edit it and put something like the following example in it. cd c:\path\to\script\folder php -f script.php Code (markup):