Ticket #1184 (closed New feature: fixed)
Plugin API for Scheduled Tasks
| Reported by: | vipsoft | Owned by: | JulienM |
|---|---|---|---|
| Priority: | normal | Milestone: | Piwik 0.8 - A Web Analytics platform |
| Component: | New Plugin | Keywords: | |
| Cc: | Sensitive: | no |
Description (last modified by matt) (diff)
Use one crontab entry to trigger Piwik archiving, daily report generation, bots, etc.
This plugin:
- exposes a new hook for other plugins to register and run some scheduled processing when called
- either provides a helper function for other plugins to know if they should run, passing a crontab-like schedule, e.g., isItTimeToRun('* * * * *'); or adds a method to Piwik_Plugin that returns a crontab-like schedule, e.g, getSchedule() that can be evaluated
Updates the UI Settings 'general settings'
- Reports on automatic maintenance is working or not
- cron not detected in the last 24 hours but tracker maintenance triggered
- cron is detected every 10s-1h?
- Maintenance is not executed. Check that Piwik is tracking visitors.
This plugin is not #817.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

