MySQL Forums
Forum List  »  PHP

Re: Run SQL at certain time
Posted by: Chis Florinel
Date: August 24, 2005 03:10AM

You can use a cron job for linux with the following command:

wget http://yoursite.com/script.php -O /dev/null
//or
/path/to/php -q /path/to/script.php


Or you can use scheduled tasks for windows:
create a .bat file with the content:

<drive>:\path\to\php -q <drive>\path\to\script.php

and put it in a scheduled task.

Options: ReplyQuote


Subject
Written By
Posted
August 23, 2005 10:55PM
Re: Run SQL at certain time
August 24, 2005 03:10AM
August 29, 2005 12:34PM
September 01, 2005 05:08PM
September 02, 2005 02:15AM
September 05, 2005 09:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.