picsort fixes
This commit is contained in:
parent
effded149a
commit
2ecef5446a
2 changed files with 3 additions and 3 deletions
|
@ -42,8 +42,8 @@ if [ "$SCAN" == "TRUE" ]; then
|
|||
# find "$SOURCEPATH/"* -type d -empty -delete >> /var/echo/nc-picsort.echo # nextcloud app bug when deleting folders
|
||||
chown -R www-data:www-data "$DESTINATIONPATH"
|
||||
chmod -R 777 "$DESTINATIONPATH"
|
||||
sudo -u www-data php /var/www/nextcloud/occ files:scan $USER
|
||||
sudo -u www-data php /var/www/nextcloud/occ preview:generate-all $USER
|
||||
sudo -u www-data php /opt/nextcloud/occ files:scan $USER
|
||||
sudo -u www-data php /opt/nextcloud/occ preview:generate-all $USER
|
||||
fi
|
||||
|
||||
echo "FINISH."
|
||||
|
|
|
@ -9,7 +9,7 @@ def systemd_timers(metadata):
|
|||
'systemd-timers': {
|
||||
f'nextcloud-picsort-{user}': {
|
||||
'command': f'/opt/nextcloud-picsort {q(user)} {q(paths["source"])} {q(paths["destination"])}',
|
||||
'when': '*:0/5',
|
||||
'when': '*:0/10',
|
||||
}
|
||||
for user, paths in metadata.get('nextcloud-picsort').items()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue