Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

多用户问题 #15

Open
LidoCKT opened this issue Mar 10, 2023 · 1 comment
Open

多用户问题 #15

LidoCKT opened this issue Mar 10, 2023 · 1 comment

Comments

@LidoCKT
Copy link

LidoCKT commented Mar 10, 2023

在schedule.ts中如何添加多用户或者不同时间多次推送

定时任务配置 中我尝试多写了一组{}包括的内容会造成无法运行

export const SCHEDULE_CONFIG: Schedule[] = [
  {
    nick: 'A',
    token: 'AAAAAA',
    cron: '0 0 9 * * ?',
    taskConfig: [true, true, true, true],
    paperExitAfterWrong: false,
  },
  {
    nick: 'A',
    token: 'AAAAAA',
    cron: '0 10 9 * * ?',
    taskConfig: [true, true, true, true],
    paperExitAfterWrong: false,
  },
];
@Xu22Web
Copy link
Owner

Xu22Web commented Mar 23, 2023

设置的时间至少间隔30分钟,10分钟不太够

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants