From 34118be7fd88fa46c0f2dab931cc928af5cb9d7e Mon Sep 17 00:00:00 2001
From: xyj <1090822794@qq.com>
Date: Tue, 27 Feb 2024 09:49:08 +0800
Subject: [PATCH] update
---
.idea/workspace.xml | 21 +++++++++++++++------
cron_update.sh | 2 +-
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 22544dd..aafc839 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,13 +4,9 @@
-
-
-
-
-
-
+
+
@@ -190,9 +186,22 @@
1702028845497
+
+
+ 1708998396073
+
+
+
+ 1708998396073
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cron_update.sh b/cron_update.sh
index e6504cf..b29fea1 100644
--- a/cron_update.sh
+++ b/cron_update.sh
@@ -2,7 +2,7 @@
set -e
sudo crontab -r
sudo crontab -l > cron.cron
-echo "0 * * * * systemctl restart supervisor" >> cron.cron
+echo "0 */1 * * * sudo systemctl restart supervisor" >> cron.cron
sudo crontab cron.cron
sudo systemctl restart cron.service
sudo rm -rf cron.cron
\ No newline at end of file