mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Updated Cron (markdown)
parent
fe8ef7b1a7
commit
a1d0fc66b0
1 changed files with 5 additions and 0 deletions
5
Cron.md
5
Cron.md
|
|
@ -26,6 +26,11 @@ sleep 10
|
|||
/snap/wekan/current/usr/bin/mongosh wekan \
|
||||
--eval 'db.adminCommand({ setParameter: 1, diagnosticDataCollectionEnabled: false});' \
|
||||
--port 27019
|
||||
|
||||
# Delete incomplete uploads so that they would not prevent starting WeKan
|
||||
/snap/wekan/current/usr/bin/mongosh wekan \
|
||||
--eval 'db.getCollection("cfs.attachments.filerecord").find( { "uploadedAt": { "$exists": true }, "copies.attachments" : null,"failures.copies.attachments.doneTrying" : {"$ne" : true}});' \
|
||||
--port 27019
|
||||
```
|
||||
3) Save and exit nano: Ctrl-o Enter Ctrl-x Enter
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue