好友迁移 + 定时器优化
This commit is contained in:
@@ -299,6 +299,76 @@ return [
|
||||
'log_file' => 'check_unread_message.log',
|
||||
],
|
||||
|
||||
// 同步部门列表,用于部门管理与权限控制
|
||||
'department_list' => [
|
||||
'command' => 'department:list',
|
||||
'schedule' => '*/30 * * * *', // 每30分钟
|
||||
'options' => [],
|
||||
'enabled' => true,
|
||||
'max_concurrent' => 1,
|
||||
'log_file' => 'crontab_department.log',
|
||||
],
|
||||
|
||||
// 同步内容库,将外部内容同步到系统内容库
|
||||
'content_sync' => [
|
||||
'command' => 'content:sync',
|
||||
'schedule' => '0 2 * * *', // 每天2点
|
||||
'options' => [],
|
||||
'enabled' => true,
|
||||
'max_concurrent' => 1,
|
||||
'log_file' => 'crontab_content_sync.log',
|
||||
],
|
||||
|
||||
// 朋友圈采集任务,采集好友朋友圈内容
|
||||
'moments_collect' => [
|
||||
'command' => 'moments:collect',
|
||||
'schedule' => '0 6 * * *', // 每天6点
|
||||
'options' => [],
|
||||
'enabled' => true,
|
||||
'max_concurrent' => 1,
|
||||
'log_file' => 'crontab_moments_collect.log',
|
||||
],
|
||||
|
||||
// 分配规则列表,同步分配规则数据
|
||||
'allotrule_list' => [
|
||||
'command' => 'allotrule:list',
|
||||
'schedule' => '0 3 * * *', // 每天3点
|
||||
'options' => [],
|
||||
'enabled' => true,
|
||||
'max_concurrent' => 1,
|
||||
'log_file' => 'crontab_allotrule_list.log',
|
||||
],
|
||||
|
||||
// 自动创建分配规则,根据规则自动创建分配任务
|
||||
'allotrule_autocreate' => [
|
||||
'command' => 'allotrule:autocreate',
|
||||
'schedule' => '0 4 * * *', // 每天4点
|
||||
'options' => [],
|
||||
'enabled' => true,
|
||||
'max_concurrent' => 1,
|
||||
'log_file' => 'crontab_allotrule_autocreate.log',
|
||||
],
|
||||
|
||||
// 工作台:入群欢迎语任务,自动发送入群欢迎消息
|
||||
'workbench_group_welcome' => [
|
||||
'command' => 'workbench:groupWelcome',
|
||||
'schedule' => '*/1 * * * *', // 每1分钟
|
||||
'options' => [],
|
||||
'enabled' => true,
|
||||
'max_concurrent' => 1,
|
||||
'log_file' => 'workbench_groupWelcome.log',
|
||||
],
|
||||
|
||||
// 采集客服自己的朋友圈,同步客服账号的朋友圈内容
|
||||
'own_moments_collect' => [
|
||||
'command' => 'own:moments:collect',
|
||||
'schedule' => '*/30 * * * *', // 每30分钟
|
||||
'options' => [],
|
||||
'enabled' => true,
|
||||
'max_concurrent' => 1,
|
||||
'log_file' => 'own_moments_collect.log',
|
||||
],
|
||||
|
||||
// 已禁用的任务(注释掉的任务)
|
||||
// 'workbench_group_push' => [
|
||||
// 'command' => 'workbench:groupPush',
|
||||
|
||||
Reference in New Issue
Block a user