diff --git a/hosts/default/apps/tuxstrap-reminder.nix b/hosts/default/apps/tuxstrap-reminder.nix index a290c86..8c9014d 100644 --- a/hosts/default/apps/tuxstrap-reminder.nix +++ b/hosts/default/apps/tuxstrap-reminder.nix @@ -17,7 +17,7 @@ pkgs.stdenv.mkDerivation { installPhase = '' mkdir -p $out/bin - cp daily-challenge-reminder-crontab.ts $out/bin/crontab-script + cp daily-challenge-reminder-crontab.ts $out/bin/crontab-script.ts mv reminder-crontab-exec tuxstrap-crontab cp tuxstrap-crontab $out/bin/ ''; diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 9f27699..f4d9c5c 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -75,7 +75,7 @@ in services.cron = { enable = true; systemCronJobs = [ - "*/1 * * * * ocbwoy3 ${tuxstrapReminderCrontab}/bin/tuxstrap-cron" + "*/1 * * * * ocbwoy3 bun run ${tuxstrapReminderCrontab}/bin/crontab-script.ts" ]; };