foxed K cron script
[mirrors/Kyberia-bloodline.git] / cron / search_update.php
CommitLineData
b42b2bf9
H
1#!/usr/bin/php
2<?php
3require('/storage/system/www-root/kyberia.sk/config/config.inc');
4require(SYSTEM_ROOT.'/inc/database.inc');
5require(SYSTEM_ROOT.'/inc/senate.inc');
6
7$db = new CLASS_DATABASE();
8$db->query('insert into node_content select node_id,node_content from nodes where ( DATE_SUB(CURDATE(),INTERVAL 2 DAY) < node_created OR DATE_SUB(CURDATE(),INTERVAL 2 DAY) < node_updated) ON DUPLICATE KEY UPDATE node_content.node_content = nodes.node_content;');
9?>
This page took 0.188811 seconds and 4 git commands to generate.