source: branches/1.1dev/bin/login_cleanup.cli.php

Last change on this file was 648, checked in by anonymous, 6 years ago

Update hash-bang references. Minor.

File size: 199 bytes
Line 
1#!/usr/bin/env php
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.