We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
it working surely,but it can only working at foreground,i'm sad...
registerJob = () => { BackgroundJob.schedule({ jobKey: 'myJob', // 切换到后台时,安排作业 period: 1000, // 运行作业的频率,这个数字不准确 exact: true, allowWhileIdle: true, persist: true, allowExecutionInForeground: true, }) .then(() => console.log('注册后台成功!')) .catch((err) => console.log(err)); };
The text was updated successfully, but these errors were encountered:
Have you solved it
Sorry, something went wrong.
No branches or pull requests
it working surely,but it can only working at foreground,i'm sad...
registerJob = () => { BackgroundJob.schedule({ jobKey: 'myJob', // 切换到后台时,安排作业 period: 1000, // 运行作业的频率,这个数字不准确 exact: true, allowWhileIdle: true, persist: true, allowExecutionInForeground: true, }) .then(() => console.log('注册后台成功!')) .catch((err) => console.log(err)); };
The text was updated successfully, but these errors were encountered: