diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 46e9210..5129ea6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,8 +3,8 @@ on: push: branches: - main - # schedule: - # - cron: '0 */2 * * *' + schedule: + - cron: '0 */2 * * *' jobs: lottery: runs-on: ubuntu-latest diff --git a/main.js b/main.js index c89f886..a5b57ee 100644 --- a/main.js +++ b/main.js @@ -1,5 +1,4 @@ import { main } from './lottery-in-nodejs.js'; /**@type {string}*/ const COOKIE = (process.argv.slice(2))[0].substr(7); -console.log(COOKIE); -// main(COOKIE); \ No newline at end of file +main(COOKIE); \ No newline at end of file