We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4885b7 commit 487edcdCopy full SHA for 487edcd
2 files changed
CHANGELOG.md
@@ -5,7 +5,8 @@ All notable changes to this project will be documented in this file.
5
6
### Bugfixes
7
8
-- Revert #1943 Fix possible error occur for v-rebuild-cron-jobs
+- Revert #1943 and rework it to fix possible errors occuring on v-rebuild-cron-jobs.
9
+- Fixed #1956 to prevent reset of defined webmail client.
10
11
## [1.4.4] - Service release
12
func/main.sh
@@ -611,8 +611,12 @@ sync_cron_jobs() {
611
crontab="/var/spool/cron/$user"
612
fi
613
614
- # remove file
615
- rm -f $crontab
+ # remove file if exists
+ if [ -e "$crontab" ]; then
616
+ rm -f $crontab
617
+ fi
618
+
619
+ # touch new crontab file
620
touch $crontab
621
622
if [ "$CRON_REPORTS" = 'yes' ]; then
0 commit comments