[Owncloud] Rescan Pictures with a cronjob task

Florian Hülsmann fh at cbix.de
Wed May 23 20:23:00 UTC 2012


Hi Niko,

putting this command into the crontab should do the job:

curl -s -L --max-redirs 3 --basic -u 'user:password' 
'http://host/owncloud/?app=gallery&getfile=ajax/galleryOp.php&operation=scan'

But I'm not sure why it even redirects... Someone else may provide a 
better solution.

Cheers, Florian

Am 23.05.2012 22:00, schrieb Niko Sturm:
> Hello together,
>
> i want rescan all pictures with a cronjob task in linux.
> With such a task all thumbnail creations could be in the background.
> Is this possible and how?
>
> Thanks for the response and the good software
>

-- 
Florian Hülsmann
<fh at cbix.de>
http://cbix.de



More information about the Owncloud mailing list