josephernest/TinyAnalytics

Not use cron, but let PHP call summarize task instead

Closed this issue · 1 comments

Todo: write a timestamp each time tracker.php and index.php are called. If now - last timestamp > 1 hour, then run shell_exec('summarize.py >/dev/null 2>&1 &');
This will be launched with http daemon user, check user permission.

Done in branch without-cron. To be tested and merged.