From feef273c8cfcc5ff66e27f3deef2d6a1d45feecc Mon Sep 17 00:00:00 2001 From: Moritz Utcke Date: Mon, 9 Jun 2025 12:09:50 -0300 Subject: [PATCH] Disables autorestart for database backup cronjob Prevents the daily database backup cronjob from restarting automatically. This ensures that the backup process only runs according to the defined schedule, avoiding unintended backups outside of the scheduled time. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 33760009..b32d05c5 100644 --- a/Makefile +++ b/Makefile @@ -72,4 +72,4 @@ prod: install-dependencies prisma-studio backup-database-cronjob update-dwd-klim backup-database-cronjob: - pm2 delete daily-db-backup - pm2 start bash --name "daily-db-backup" --cron "0 0 * * *" -- backup-database.bash \ No newline at end of file + pm2 start bash --name "daily-db-backup" --no-autorestart --no-start --cron "0 0 * * *" -- backup-database.bash \ No newline at end of file