Compare commits

..

2 Commits

Author SHA1 Message Date
Fionn b89691dcd1
Merge pull request #3 from MorpheusXAUT/fix-cronjob-syntax
1 year ago
Nick 'MorpheusXAUT' Müller 86e2d092f7
Fix cronjob syntax for data regeneration
2 years ago

@ -32,7 +32,7 @@ app.use((err, req: Request, res: Response, next: NextFunction) => {
res.status(500).json({ msg: 'an error occurred' });
});
nodesched.scheduleJob('regenerate data', '*/30 * * * * *', wxService.wrappedGenerateData);
nodesched.scheduleJob('regenerate data', '*/30 * * * *', wxService.wrappedGenerateData);
wxService.wrappedGenerateData();
const server = app.listen(config.port, () => {

Loading…
Cancel
Save