You should use a Cron job to do it. Check out the examples on the Wikipedia page.
The Cron Job should call a script using the php
executable that runs the necessary task.
More Related Contents:
- UTF-8 all the way through
- How to enable mysqlnd for php?
- mysql injection damages?
- PHP PDO and Mysql [closed]
- Parse error: syntax error, unexpected T_STRING in C:\wamp\www\b_php\project\login_save.php on line 14 [closed]
- The requested URL was not found on this server.
- Fatal error: Call to a member function bind_param() on boolean [duplicate]
- How to create a secure mysql prepared statement in php?
- strange character encoding of stored data , old script is showing them fine new one doesn’t
- Doctrine 2 and Many-to-many link table with an extra field
- Post form and update multiple rows with mysql
- How to use multiple databases dynamically for one model in CakePHP
- MySQL retrieve variable from Stored Procedure in PHP PDO
- Send data from android to server via JSON
- #1193 – Unknown system variable ‘lc_messages’ when trying to login to phpmyadmin
- Laravel 5.5 Error Base table or view already exists: 1050 Table ‘users’ already exists
- How to handle error for duplicate entries?
- How to handle PDO exceptions [duplicate]
- MySql PHP select count of distinct values from comma separated data (tags)
- mysql_insert_id() returns 0
- php artisan migrate throwing [PDO Exception] Could not find driver – Using Laravel
- Change name of Laravel’s created_at and updated_at
- How do I get database column names in Laravel?
- PDO and MySQL Fulltext searches
- How to avoid “Using temporary” in many-to-many queries?
- Select mySQL based only on month and year
- Composer: file_put_contents(./composer.json): failed to open stream: Permission denied
- Mysql InnoDB engine in Laravel
- MySQL: Group by two columns and sum
- phpmysql error – #1273 – #1273 – Unknown collation: ‘utf8mb4_general_ci’