⌈⌋ branch:  freshcode


Check-in [da7fef284d]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update header_stats 3x per day
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:da7fef284db5cef0b641d216aaf2ceb7bbe444c5
User & Date: mario 2014-12-07 21:14:03
Context
2014-12-07
21:14
Set db()/SQlite timeout to 15sec. check-in: 77b800a9a7 user: mario tags: trunk
21:14
Update header_stats 3x per day check-in: da7fef284d user: mario tags: trunk
21:13
Retain via: field from spooled entries, spupport cmdline flag --now for instant insertions. check-in: 46ee31d256 user: mario tags: trunk
Changes

Changes to cron.daily/header_stats.php.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * title: statistics
 * description: generate statistics, visitors, projects, autoupdate, etc. for header
 * version: 0.1
 * depends:
 * category: template
 * type: cron
 * x-cron: 11 1 * * *
 *
 * Approximate weekly numbers by multiplication.
 *
 */

chdir(dirname(__DIR__)); 
include("config.php");




|



|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * title: statistics
 * description: generate statistics, visitors, projects, autoupdate, etc. for header
 * version: 0.2
 * depends:
 * category: template
 * type: cron
 * x-cron: 11 23,5,16 * * *
 *
 * Approximate weekly numbers by multiplication.
 *
 */

chdir(dirname(__DIR__)); 
include("config.php");