The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/server/startup/cron.ts

23 lines
705 B

import { Meteor } from 'meteor/meteor';
import { Logger } from '../../app/logger/server';
import { oembedCron } from '../cron/oembed';
import { statsCron } from '../cron/statistics';
import { npsCron } from '../cron/nps';
import { federationCron } from '../cron/federation';
import { videoConferencesCron } from '../cron/videoConferences';
import { userDataDownloadsCron } from '../cron/userDataDownloads';
import { startCron } from '../cron/start';
const logger = new Logger('SyncedCron');
Meteor.defer(async function () {
await startCron();
await oembedCron();
await statsCron(logger);
await npsCron();
await federationCron();
await videoConferencesCron();
await userDataDownloadsCron();
});