chore(deps): update nextjs to 15.2.3 (#2701)
* chore(deps): update nextjs to 15.2.3 * fix: dev server crashes with next 15.2.0 * chore(deps): reenable updates for next packages * chore: address pull request feedback
This commit is contained in:
12
packages/cron-job-runner/src/register.ts
Normal file
12
packages/cron-job-runner/src/register.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { jobGroup } from "@homarr/cron-jobs";
|
||||
|
||||
import { cronJobRunnerChannel } from ".";
|
||||
|
||||
/**
|
||||
* Registers the cron job runner to listen to the Redis PubSub channel.
|
||||
*/
|
||||
export const registerCronJobRunner = () => {
|
||||
cronJobRunnerChannel.subscribe((jobName) => {
|
||||
jobGroup.runManually(jobName);
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user