Cronish jobs by the minute. These run very often!

Minutely will NOT necessarily run by the minute, because it depends on
site visitors. Busy sites will be able to do this, but sites where the
visitors (or search engine stuff or api calls) are more than a minute
apart, the interval will be much larger.
This commit is contained in:
Mikael Nordfeldth
2013-11-20 23:03:40 +01:00
parent 7e638cb8da
commit 710eac403c
2 changed files with 17 additions and 1 deletions

View File

@@ -23,7 +23,8 @@ class Cronish
*/
public function callTimedEvents()
{
$timers = array('hourly' => 3600,
$timers = array('minutely' => 60, // this is NOT guaranteed to run every minute (only on busy sites)
'hourly' => 3600,
'daily' => 86400,
'weekly' => 604800);