source:
tags/1.0.0/bin/login_cleanup.cli.php
@
216
Last change on this file since 216 was 1, checked in by scdev, 19 years ago | |
---|---|
File size: 204 bytes |
Line | |
---|---|
1 | #!/usr/local/bin/php -q |
2 | <?php |
3 | |
4 | define('SKIP_SESSION', true); |
5 | |
6 | require '../config/boot.inc.php'; |
7 | |
8 | dbQuery(" |
9 | DELETE FROM login_tbl |
10 | WHERE DATE_ADD(login_datetime, INTERVAL '14' DAY) < NOW() |
11 | "); |
12 | |
13 | |
14 | ?> |
Note: See TracBrowser
for help on using the repository browser.