예제 #1
0
파일: gen_xml.php 프로젝트: skcho/seminar
function run()
{
    $snts = snts_n_days_later(1);
    foreach ($snts as $snt) {
        run_snt($snt);
    }
}
예제 #2
0
파일: comment.php 프로젝트: skcho/seminar
function auto()
{
    $snts = snts_n_days_later(1);
    foreach ($snts as $snt) {
        $msg = gen_total_msg($snt);
        send($msg);
    }
}
예제 #3
0
파일: remind.php 프로젝트: skcho/seminar
function auto()
{
    $snts = snts_n_days_later(11);
    foreach ($snts as $snt) {
        $msg = gen_msg($snt);
        send_remind($snt, $msg);
    }
}
예제 #4
0
파일: commenter.php 프로젝트: skcho/seminar
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);
    }
}
예제 #5
0
파일: notice.php 프로젝트: skcho/seminar
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);
    }
}