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
17c4edb5
Commit
17c4edb5
authored
Aug 12, 2014
by
jkaberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cron job for owncloud
parent
d60abd0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
owncloud.sh
setup/owncloud.sh
+4
-2
No files found.
setup/owncloud.sh
View file @
17c4edb5
# Owncloud
##########################
# TODO: Write documentation on what we're doing here :-)
source
setup/functions.sh
# load our functions
source
/etc/mailinabox.conf
# load global vars
...
...
@@ -78,6 +76,10 @@ curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/lib
php /usr/local/lib/owncloud/apps/mail/composer.phar
install
--working-dir
=
/usr/local/lib/owncloud/apps/mail
chmod
-R
777 /usr/local/lib/owncloud/apps/mail/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer
# Use Crontab instead of AJAX/webcron in ownCloud
# TODO: somehow change the cron option in admin settings, not exposed afaik?
(
crontab
-u
www-user
-l
;
echo
"*/15 * * * * php -f /usr/local/lib/owncloud/cron.php"
)
| crontab
-u
www-user -
# TODO: enable mail app in ownCloud config?
php5enmod imap
...
...
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