This is my crontab list jobs. No rotine to generate thumbnail. All thumbnails are genereted after hours without an explicit scheduled tasks.
*DS_BACKEND = /dspace/backendJAVA_OPTS="-Xms512m -Xmx512m -XX:+UseG1GC -Dfile.encoding=UTF-8"5 0 * * * $DS_BACKEND/bin/dspace subscription-send -f D > /dev/null* *5 0 * * 0 $DS_BACKEND/bin/dspace subscription-send -f W > /dev/null* *5 0 1 * * $DS_BACKEND/bin/dspace subscription-send -f M > /dev/null* *0 0 * * * $DS_BACKEND/bin/dspace oai import > /dev/null* *0 0 * * * $DS_BACKEND/bin/dspace index-discovery > /dev/null30 0 * * * $DS_BACKEND/bin/dspace index-authority > /dev/null0 1 * * * $DS_BACKEND/bin/dspace stats-util -i > /dev/null* *30 1 * * * $DS_BACKEND/bin/dspace cleanup > /dev/null* Em segunda-feira, 15 de abril de 2024 às 15:54:24 UTC-3, Emilia Lobo escreveu: > > How and where do you run the "crontab -e" command on a development machine > to test automatically generating thumbnails of items loaded into the local > database? > Thank you. > Emilia.- > El sábado, 13 de abril de 2024 a las 7:38:31 UTC-3, Leandro Pereira > escribió: > >> But in my case, this is being done automatically without scheduled tasks >> via cron. This part I didn't understand. >> >> Em sábado, 13 de abril de 2024 às 07:09:44 UTC-3, Matthias Letsch >> escreveu: >> >>> Hi there, >>> >>> just as Victorhugo said, the thumbnail generation is done by the command >>> $DSPACE/bin/dspace >>> filter-media (see >>> https://wiki.lyrasis.org/display/DSDOC7x/Scheduled+Tasks+via+Cron) >>> >>> In addition to thumbnail generation, filter-media is also responsible >>> for text extraction for full-text indexing. >>> >>> Which filters become active when filter-media is executed can be >>> configured in dspace.cfg (currently from line 446): >>> >>> #### Media Filter / Format Filter plugins (through PluginService) #### >>> # Media/Format Filters help to full-text index content or >>> # perform automated format conversions >>> >>> #Names of the enabled MediaFilter or FormatFilter plugins >>> filter.plugins = Text Extractor >>> filter.plugins = JPEG Thumbnail >>> filter.plugins = PDFBox JPEG Thumbnail >>> >>> (https://github.com/DSpace/DSpace/blob/main/dspace/config/dspace.cfg) >>> >>> You could comment out the following lines here: >>> >>> # filter.plugins = JPEG Thumbnail >>> # filter.plugins = PDFBox JPEG Thumbnail >>> >>> This will allow the cronjob to remain active and continue to perform >>> full-text indexing, but no more thumbnails should be generated. >>> >>> Kind regards, >>> Matthias >>> Victorhugo Bisangwa schrieb am Freitag, 12. April 2024 um 13:24:34 UTC+2: >>> >>>> Hello, >>>> >>>> These thumbnails are generated by the media filter (filter-media). >>>> Once it runs, the thumbnails are generated. Check if you added this task >>>> to >>>> crontab. >>>> >>>> regards, >>>> >>>> >>>> >>>> >>>> [image: Mailtrack] >>>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> >>>> Sender >>>> notified by >>>> Mailtrack >>>> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11&> >>>> 04/12/24, >>>> 01:22:55 PM >>>> >>>> On Fri, Apr 12, 2024 at 1:13 PM Leandro Pereira <[email protected]> >>>> wrote: >>>> >>>>> Hi everyone. >>>>> >>>>> I'm using DSpace version 7.6.1 >>>>> >>>>> Is there any way to control or disable the automatic generation of >>>>> thumbnails? I didn't find the configuration but I noticed that they are >>>>> being done in the morning without tasks added to crontab. >>>>> >>>>> -- >>>>> All messages to this mailing list should adhere to the Code of >>>>> Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "DSpace Community" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/dspace-community/ff23f4c8-d122-4183-a062-40cf822f7334n%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/dspace-community/ff23f4c8-d122-4183-a062-40cf822f7334n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-community/97761c79-2cf8-4f7a-bf9d-2ddaed7bf0d9n%40googlegroups.com.
