Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
dfc8576e
Commit
dfc8576e
authored
Jan 23, 2007
by
Penny Leach
Browse files
adding missing cronjob entry for processing the activity queue, fixed
up the broken timing for the rebuild complete parent cache cron
parent
15179e07
Changes
4
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/activity.php
View file @
dfc8576e
...
...
@@ -424,4 +424,12 @@ function activity_set_defaults($user_id) {
}
function
activity_process_queue
()
{
// stub for cronjob.
}
?>
htdocs/lib/db/install.xml
View file @
dfc8576e
...
...
@@ -831,12 +831,14 @@
<SENTENCE
TEXT=
"(callfunction, minute, hour, day, month, dayofweek)
VALUES ('rebuild_artefact_parent_cache_dirty', '*', '*', '*', '*', '*')"
/>
<SENTENCE
TEXT=
"(callfunction, minute, hour, day, month, dayofweek)
VALUES ('rebuild_artefact_parent_cache_complete', '
*
', '4', '*', '*', '*')"
/>
VALUES ('rebuild_artefact_parent_cache_complete', '
0
', '4', '*', '*', '*')"
/>
<SENTENCE
TEXT=
"(callfunction, minute, hour, day, month, dayofweek)
VALUES ('auth_clean_partial_registrations', '5', '0', '*', '*', '*')"
/>
<SENTENCE
TEXT=
"(callfunction, minute, hour, day, month, dayofweek)
VALUES ('auth_handle_account_expiries', '5', '10', '*', '*', '*')"
/>
</SENTENCES>
<SENTENCE
TEXT=
"(callfunction, minute, hour, day, month, dayofweek)
VALUES ('activity_process_queue', '*/5', '*', '*', '*', '*')"
/>
</SENTENCES>
</STATEMENT>
<STATEMENT
NAME=
"insert template categories"
TYPE=
"insert"
TABLE=
"template_category"
>
<SENTENCES>
...
...
htdocs/lib/db/upgrade.php
View file @
dfc8576e
...
...
@@ -172,6 +172,15 @@ function xmldb_core_upgrade($oldversion=0) {
execute_sql
(
'UPDATE '
.
get_config
(
'dbprefix'
)
.
'usr SET quota=10485760'
);
}
if
(
$oldversion
<
2007012300
)
{
// fix up a broken cron entry...
set_field
(
'cron'
,
'minute'
,
'0'
,
'callfunction'
,
'rebuild_artefact_parent_cache_complete'
);
$c
=
new
StdClass
;
$c
->
callfunction
=
'activity_process_queue'
;
$c
->
minute
=
'*/5'
;
insert_record
(
'cron'
,
$c
);
}
return
$status
;
}
...
...
htdocs/lib/version.php
View file @
dfc8576e
...
...
@@ -27,7 +27,7 @@
defined
(
'INTERNAL'
)
||
die
();
$config
=
new
StdClass
;
$config
->
version
=
200701
16
00
;
$config
->
version
=
200701
23
00
;
$config
->
release
=
'0.4.0'
;
$config
->
minupgradefrom
=
2006121501
;
$config
->
minupgraderelease
=
'0.1 (build tag BUILD_20061215)'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment