daily #297

Parent #296Owner #361Flags read, writeSource hellcore/hellcore.db

Aliases: daily

5 verbs · 19 properties · 0 children

Verbs

VerbSpecFlagsDefinerLines
report_from_issueliststhis none thisrxd#29745
update_corelistthis none thisrxd#2971
update_issuelist_countsthis none thisrxd#2974
update_ofindthis none thisrxd#2971
recycler_gcthis none thisrxd#2971

Properties

PropertyDefinerFlagsOwnerValue
help_msg#296rc#361<clear>
frequency#296rc#36186400
check_frequency#296rc#3613600
last_runs#296rc#361
list of 17{7, 0, 0, 0, 0, 0, {"update_ofind", 1311714635}, 0, {"report_from_issuelists", 1311713435}, {"agnes_forgets", 1311714035}, {"grind_db_aggregate", 1311714935}, {"update_corelist", 1311713735}, 0, 0, 0, {"update_issuelist_counts", 1311714335}, {"recycler_gc", 1311715235}}
log#296rc#361{}
max_log_lines#296rc#361<clear>
wait_between_tasks#296rc#361300
run_task#296rc#3612125374296
log_to_net#296rc#361#202600
aliases#1rc#361{"daily"}
description#1rc#361<clear>
object_size#1r#29{27628, 1298434627}
hidden_verbs#1rc#361<clear>
phelp_msg#1rc#361<clear>
weight#1rc#361<clear>
owner_verbs#1rc#361<clear>
plural_name#1rc#361<clear>
client_image#1rc#361<clear>
listening#1rc#361<clear>

Ancestry

Ancestors (nearest first): #296 task scheduler#1 root

Children: none

Call graph

calls n297_0 #297:report_from_issuelists n45_26 #45:leaves_suspended n297_0->n45_26 n20_38 #20:explode n297_0->n20_38 n1_45 #1:named n297_0->n1_45 n20_5 #20:from_list n297_0->n20_5 n35_19 #35:longdate n297_0->n35_19 n38_2 #38:send_message n297_0->n38_2 n297_1 #297:update_corelist n45_52 #45:reverse_property_hash n297_1->n45_52 n297_2 #297:update_issuelist_counts n297_2->n45_26 n297_3 #297:update_ofind n317_28 #317:update_fertile n297_3->n317_28 n297_4 #297:recycler_gc n57_14 #57:gc n297_4->n57_14

Source

report_from_issuelists

Spec this none thisFlags rxdOwner #361Definer #297

Referenced by

none

Source

1{?fake = 0} = args;
2to_send = [];
3for il in ($ou:leaves_suspended($issue_list))
4if (valid(target = il.send_reports_to))
5infos = il.to_report;
6if (!infos)
7continue;
8endif
9if (!fake)
10il.to_report = {};
11endif
12grouped_stuff = `to_send[target] ! E_RANGE => []';
13for info in (infos)
14{attribution, msginfo} = info;
15if (target == $clp)
16attribution = $su:explode(attribution)[1];
17expl_info = $su:explode(msginfo);
18sender = $player:named(expl_info[$]);
19msginfo = $su:from_list(expl_info, " ");
20endif
21by_same_dude = `grouped_stuff[attribution] ! E_RANGE => {}';
22by_same_dude = {@by_same_dude, msginfo};
23grouped_stuff[attribution] = by_same_dude;
24yield 1;
25endfor
26to_send[target] = grouped_stuff;
27endif
28yield 1;
29endfor
30for target in (keys(to_send))
31grouped_stuff = to_send[target];
32lines = {};
33for attribution in (keys(grouped_stuff))
34lines = {@lines, attribution};
35for msginfo in (grouped_stuff[attribution])
36lines = {@lines, "  " + msginfo};
37yield 1;
38endfor
39yield 1;
40lines = {@lines, ""};
41endfor
42subj = "Daily change report for " + $tu:longdate();
43$mail_agent:send_message(this, target, subj, lines);
44yield 1;
45endfor

update_corelist

Spec this none thisFlags rxdOwner #361Definer #297

Referenced by

none

Source

1$gamecheck.corelist = $ou:rph(#0);

update_issuelist_counts

Spec this none thisFlags rxdOwner #361Definer #297

Referenced by

none

Source

1for il in ($ou:leaves_suspended($issue_list))
2il:reset_top_counts();
3yield 1;
4endfor

update_ofind

Spec this none thisFlags rxdOwner #361Definer #297

Referenced by

none

Source

1$gamecheck:update_fertile();

recycler_gc

Spec this none thisFlags rxdOwner #361Definer #297

Referenced by

none

Source

1$recycler:gc();