Skip to content

Commit 838a510

Browse files
authored
Update cron.js
1 parent 8e7c00a commit 838a510

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cron.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ app.get(`/health`, (req, res) => res.status(200).json(`OK`));
77
const server = http.createServer(app);
88
server.listen(
99
80,
10-
() => console.log(`-- Backend Service (1337) --`)
10+
() => console.log(`-- Backend Service (80) --`)
1111
);
1212

1313
const job = new CronJob('0 */1 * * * *', async function () {
@@ -20,4 +20,4 @@ const job = new CronJob('0 */1 * * * *', async function () {
2020

2121
});
2222
console.log('Resposta do servidor a cada minuto');
23-
job.start();
23+
job.start();

0 commit comments

Comments
 (0)