From 6a7c7bfab166a56e4f7c25db3ef0a9e63d78d6f5 Mon Sep 17 00:00:00 2001 From: Ilya Mukhortov Date: Sat, 25 Nov 2023 18:13:06 +1000 Subject: [PATCH] pass --- medicine-remd/crontab.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/medicine-remd/crontab.sh b/medicine-remd/crontab.sh index 87859c3..7b2ef76 100755 --- a/medicine-remd/crontab.sh +++ b/medicine-remd/crontab.sh @@ -1,2 +1,4 @@ #!/bin/bash -sudo /bin/bash -c 'echo "30 23 * * * root /root/medicine-config/medicine-remd/update.sh" >> /etc/crontab' + +sudo echo "30 23 * * * root /root/medicine-config/medicine-remd/update.sh" > /etc/cron.d/medicine_remd_update +sudo chmod 600 /etc/cron.d/medicine_remd_update