Skip to content

Commit 97ff6b8

Browse files
committed
log service start time
1 parent 5237a10 commit 97ff6b8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { Config } from "./config";
22
import { Cron } from "./cron";
3+
import { getTimestamp } from "./helpers";
34
import { refreshDiscs } from "./refresh";
45

6+
console.log(`Service started at ${getTimestamp()}`);
7+
58
if (Config.REFRESH_DISCS_CRON) {
69
console.log("REFRESH_DISCS_CRON env var is set to 'true' - starting disc refresh cron job...");
710
const cron = new Cron();

0 commit comments

Comments
 (0)