Skip to content

Commit

Permalink
wait for cronjob
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 committed Jun 23, 2023
1 parent ab47c78 commit 1f40673
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/imaginary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ This will most likely clear a lot of space! Also, pre-generated previews are not
rm -rfv "$NCDATA"/appdata_*/preview/*
print_text_in_color "$ICyan" "Scanning Nextclouds appdata directory after removing all previews. \
This can take a while..."
# Don't execute the update before all cronjobs are finished
check_running_cronjobs
nextcloud_occ files:scan-app-data preview -vvv
msg_box "All previews were successfully removed."
fi
Expand Down

0 comments on commit 1f40673

Please sign in to comment.