mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
fix: a
This commit is contained in:
parent
37a5ee6af7
commit
543c2043a1
2 changed files with 4 additions and 3 deletions
|
|
@ -17,7 +17,8 @@ import { tempcronjob } from "./school";
|
|||
import { cronJobFor15daysofcode } from "./15daysofcode";
|
||||
import { setupSeverCron } from "./seven39feed";
|
||||
import { cronJobForRPG } from "./rpgysws";
|
||||
import { onLoad } from "./lockinysws";
|
||||
import { onLoadForLockIn } from "./lockinysws";
|
||||
// import { onLoad } from "./lockinysws";
|
||||
const cronWithCheckIn = Sentry.cron.instrumentNodeCron(cron);
|
||||
|
||||
function updateStatus(
|
||||
|
|
@ -275,7 +276,7 @@ export function setupOverallCron(app: ModifiedApp) {
|
|||
cronJobFor15daysofcode(app);
|
||||
setupSeverCron(app);
|
||||
cronJobForRPG(app);
|
||||
onLoad(app);
|
||||
onLoadForLockIn(app)
|
||||
return {
|
||||
// checkAirtableBoba,
|
||||
cronWithCheckIn,
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ export async function parseHomepage() {
|
|||
return { datetime, duration, users };
|
||||
});
|
||||
}
|
||||
export default async function onLoad(app: ModifiedApp) {
|
||||
export async function onLoadForLockIn(app: ModifiedApp) {
|
||||
setInterval(
|
||||
async () => {
|
||||
// data
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue