nextcloud / previewgenerator

Nextcloud app to do preview generation in the background.
https://apps.nextcloud.com/apps/previewgenerator
GNU Affero General Public License v3.0
449 stars 56 forks source link

How do I add a cron job? #386

Closed JL102 closed 1 year ago

JL102 commented 1 year ago
Add a (system) cron job for  ./occ preview:pre-generate

I'm using Nextcloud AIO. How do I add a cron job for step four? Do I have to manually edit cron.php? Or does it do this automatically?

Thanks!

st3iny commented 1 year ago

@szaimen Who does one add a custom cron job in AIO?

st3iny commented 1 year ago

@JL102 You have to manually add a cron job. Usually, this is done on the system itself via a cron daemon. I'm not sure how to do this with AIO.

szaimen commented 1 year ago

@JL102 see https://github.com/nextcloud/all-in-one/discussions/542

JL102 commented 1 year ago

Thanks! Closing.