Example #1
0
function run()
{
    $snts = snts_n_days_later(1);
    foreach ($snts as $snt) {
        run_snt($snt);
    }
}
Example #2
0
function auto()
{
    $snts = snts_n_days_later(1);
    foreach ($snts as $snt) {
        $msg = gen_total_msg($snt);
        send($msg);
    }
}
Example #3
0
function auto()
{
    $snts = snts_n_days_later(11);
    foreach ($snts as $snt) {
        $msg = gen_msg($snt);
        send_remind($snt, $msg);
    }
}
Example #4
0
function auto()
{
    $snts = snts_n_days_later(7);
    foreach ($snts as $snt) {
        $commenter_info = gen_commenter($snt["who"]);
        $msg = gen_msg($snt, $commenter_info);
        send_and_set_data($snt, $commenter_info, $msg);
    }
}
Example #5
0
function auto($is_fst)
{
    if ($is_fst) {
        $snts = snts_n_days_later(6);
    } else {
        $snts = snts_n_days_later(2);
    }
    foreach ($snts as $snt) {
        $msg = gen_snt_msg($is_fst, $snt);
        send_notice($is_fst, $snt, $msg);
    }
}