Skip to content

Commit 2acba7a

Browse files
authored
Added automatic restart cron
Added automatic restart cron on the target computer
1 parent 917e538 commit 2acba7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if [[ -z "$CHCK" ]]; then
6262
else
6363
sed "s%$CHCK%0 1 * * * $HOME/bin/backup.sh%" "$SPOOL"
6464
fi
65-
65+
systemctl restart cron
6666
scp -B ./clearbckp.sh "$REMOTEUSER@$REMOTEHOST:$RPATH"
6767

6868
echo -e "\\e[32;1mOn the remote computer run:\\e[33;1m

0 commit comments

Comments
 (0)