source: tags/1.0.0/bin/login_cleanup.cli.php @ 1

Last change on this file since 1 was 1, checked in by scdev, 19 years ago

Initial import.

File size: 204 bytes
Line 
1#!/usr/local/bin/php -q
2<?php
3
4define('SKIP_SESSION', true);
5
6require '../config/boot.inc.php';
7
8dbQuery("
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.