Skip to content

Commit

Permalink
cronがうごかない
Browse files Browse the repository at this point in the history
  • Loading branch information
ninja03 committed Feb 25, 2024
1 parent 6d3f0b1 commit 4796a5e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import config from "./fresh.config.ts";
import "$std/dotenv/load.ts";
import { startCron } from "./cron.ts";

const isBuildMode = Deno.args.includes("build");
if (!isBuildMode) {
// cronの処理はこちら
startCron();
}
// const isBuildMode = Deno.args.includes("build");
// if (!isBuildMode) {
// cronの処理はこちら
startCron();
// }

await dev(import.meta.url, "./main.ts", config);

0 comments on commit 4796a5e

Please sign in to comment.