Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
82f4f8b2
Commit
82f4f8b2
authored
Nov 06, 2015
by
BuildTools
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete /etc/cron.daily/mailinabox-backup
parent
d703b0a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
management.sh
setup/management.sh
+4
-1
No files found.
setup/management.sh
View file @
82f4f8b2
...
...
@@ -31,9 +31,12 @@ ln -s $(pwd)/conf/management-initscript /etc/init.d/mailinabox
hide_output update-rc.d mailinabox defaults
# Perform a daily backup.
if
[
-f
/etc/cron.daily/mailinabox-backup
]
;
then
rm
/etc/cron.daily/mailinabox-backup
fi
cat
>
/etc/cron.d/mailinabox-backup
<<
EOF
;
# /etc/cron.d/mailinabox-backup: crontab fragment to run maininabox-backup
# This executes
mailinabox-backup
at 3am.
# This executes
$(
pwd
)
/management/backup.py
at 3am.
0 3 * * * root
$(
pwd
)
/management/backup.py
EOF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment