From 795acd8c8e325db7ada8a64dee0769b70171b3df Mon Sep 17 00:00:00 2001 From: OCbwoy3 Date: Tue, 31 Dec 2024 13:50:11 +0200 Subject: [PATCH] a --- hosts/default/apps/tuxstrap-reminder.nix | 2 +- hosts/default/configuration.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" ]; };