[opencms-dev] Publish script for OpenCms shell

Michael Emmerich m.emmerich at alkacon.com
Fri Oct 23 08:55:17 CEST 2015


Ramon,

the easiest is to create a schedules job of the class 
"org.opencms.scheduler.jobs.CmsPublishJob"
It will publish everything in the configured project without displaying 
any dialogs.

Kind regards,
Michael

Am 22.10.2015 um 19:50 schrieb Ramon Gavira:
> Hello, After a migration of one installation over mysql to SQL Server 
> we need to publish all contents of one site. This project has been 
> implemented with version 8.5.2.
>
> The problem is that we have lots of contents and normal publish 
> process it's not working, we are thinking to use CMS shell and 
> implement an script to do so in a few steps. Have you ever try 
> something similar? Do you have an example you would share? or Do you 
> have any idea of how to publish all tree resources, I am talking about 
> 150.000 resources...
>
> Thanx in advance
>
> -- 
> Ramón Gavira
> */Ramón Gavira Sáenz/*
> /Socio Director de Operaciones y Proyectos/
>
> Mov: 687 543 161 | Tel: 954 45 72 75 |fax: 954 45 75 72
>
> Logotipo de Saga Soluciones
> QR Code de tarjeta de visita 	
>
> www.sagasoluciones.com <http://www.sagasoluciones.com>
>
> www.templatesaga.com <http://www.templatesaga.com/>
>
> Facebook <http://www.facebook.com/sagasoluciones> Twitter 
> <https://twitter.com/SagaSoluciones>
>
> Este correo electrónico y, en su caso, cualquier fichero anexo al 
> mismo, contiene información de carácter confidencial exclusivamente 
> dirigida a su destinatario o destinatarios. Queda prohibida su 
> divulgación, copia o distribución a terceros sin la previa 
> autorización escrita de SaGa Consulting. En el caso de haber recibido 
> este correo electrónico por error, se ruega notifóquese inmediatamente 
> esta circunstancia mediante reenvóo a la dirección electrónica del 
> remitente.
>
> The information in this e-mail and in any attachments is confidential 
> and solely for the attention and use of the named addressee(s). You 
> are hereby notified that any dissemination, distribution or copy of 
> this communication is prohibited without the prior written consent of 
> SaGa Consulting. If you have received this communication in error, 
> please, notify the sender by reply e-mail.
>
> Medio ambiente *Antes de imprimir este mensaje, asegúrate de que es 
> necesario. El medio ambiente está en nuestras manos*
>
> Medio ambiente *Wasting paper is harmful to the enviroment. Please 
> consider that before printing this message.*
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>

-- 
Alkacon Software GmbH - The OpenCms Experts
Michael Emmerich

http://www.alkacon.com
http://www.opencms.org


Geschäftsführer: Alexander Kandzior, Amtsgericht Köln, HRB 54613

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20151023/ea50c1a8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 4428 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20151023/ea50c1a8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 376 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20151023/ea50c1a8/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1099 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20151023/ea50c1a8/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1180 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20151023/ea50c1a8/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 1949 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20151023/ea50c1a8/attachment-0004.png>


More information about the opencms-dev mailing list