/ 设置 10 秒超时 // 每日统计清 0 runtime_set('todaycomments', 0); runtime_set('todayarticles', 0); runtime_set('todayusers', 0); if ($forumlist) { $fidarr = array(); foreach ($forumlist as $fid => $forum) { $fidarr[] = $forum['fid']; } forum_update($fidarr, array('todayposts' => 0, 'todaythreads' => 0)); } // 清理临时附件 attach_gc(); // 当天24点 $today = strtotime(date('Ymd')) + 86400; runtime_set('cron_2_last_date', $today, TRUE); // 往前推8个小时,尽量保证在前一天 升级过来和采集的数据会很卡 // table_day_cron($time - 8 * 3600); cache_delete('cron_lock_2'); } } } ?>Notes

【Linux】learning notes(1)

如下是学习笔记,学习资源来自 莫烦PYTHON:https:morvanzhou.github.iotutorialsotherslinux-basic视频资源&#xff1

7月前980

Win10便签Sticky Notes

打开便签方法1:按 WinW 快捷键,在弹出的“Windows Ink工作区”顶部即可看到“便笺”方法2:运行开始菜单里的《Sticky Notes》应用方法3&am

7月前630

Notes(二)——Vim编辑器

Vim 是从 vi 发展出来的一个文本编辑器。代码补全、编译及错误跳转等方便编程的功能特别丰富,在程序员中被广泛使用。优点如下: 1、多级撤销:我们知道在vi里&#

2024-10-4610