<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change run time of Cron job in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128743#M34888</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I added &lt;SPAN&gt;properties &lt;SPAN class=""&gt;as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;shown&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;the&amp;nbsp;&lt;/SPAN&gt;picture below,&amp;nbsp; then I restart the ACS server, about 10 minutes later, it seems not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="solr.PNG" style="width: 897px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1617i71ADD93B690F97DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 00:42:48 GMT</pubDate>
    <dc:creator>YanFeiHu</dc:creator>
    <dc:date>2022-12-20T00:42:48Z</dc:date>
    <item>
      <title>Change run time of Cron job</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128741#M34886</link>
      <description>&lt;P&gt;Hi Team;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; As &lt;SPAN class=""&gt;described&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;in Alfresco&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;tutorial&amp;nbsp; '&lt;/SPAN&gt;&lt;SPAN&gt;Community Edition includes a background job responsible for backing up the Solr 6 indexes that (by default) is configured to run at 3am each night'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;And '&amp;nbsp;the cron job is run at 2 am for&amp;nbsp;alfrescoCore&amp;nbsp;and 4 am for&amp;nbsp;archiveCore'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;My question is that how to change the run time of&amp;nbsp;Cron job?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;Thanks a lot!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 12:35:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128741#M34886</guid>
      <dc:creator>YanFeiHu</dc:creator>
      <dc:date>2022-12-19T12:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change run time of Cron job</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128742#M34887</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can try to modify the following properties on the alfresco-global.properties file:&amp;nbsp;&lt;/P&gt;&lt;P&gt;- solr.backup.alfresco.cronExpression&lt;/P&gt;&lt;P&gt;- solr.backup.archive.cronExpression&lt;/P&gt;&lt;P&gt;You need to set the time using UNIX format about when you want that the each backup is done.&lt;/P&gt;&lt;P&gt;If that changes don't work, I think you will have to change the configuration on Solr Service.&lt;/P&gt;&lt;P&gt;Please, try it and answer me.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2022 21:09:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128742#M34887</guid>
      <dc:creator>scampoy1</dc:creator>
      <dc:date>2022-12-19T21:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Change run time of Cron job</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128743#M34888</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thank you so much for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I added &lt;SPAN&gt;properties &lt;SPAN class=""&gt;as&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;shown&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;in&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;the&amp;nbsp;&lt;/SPAN&gt;picture below,&amp;nbsp; then I restart the ACS server, about 10 minutes later, it seems not work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="solr.PNG" style="width: 897px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1617i71ADD93B690F97DF/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 00:42:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128743#M34888</guid>
      <dc:creator>YanFeiHu</dc:creator>
      <dc:date>2022-12-20T00:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Change run time of Cron job</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128744#M34889</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I'm not sure at what time are you trying to do SOLR backups.&lt;/P&gt;&lt;P&gt;Although the property is labeled as a cronjob, it is a quartz job, so the first number in the expression are seconds.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;second&amp;gt; &amp;lt;minute&amp;gt; &amp;lt;hour&amp;gt; &amp;lt;day of the month&amp;gt; &amp;lt;month&amp;gt; &amp;lt;day of the week&amp;gt; &amp;lt;year&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;By the way, in last versions of ASS 2.0.x, the backup remote location is set in solrcore.properties (not in alfresco-global.properties).&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 18:00:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128744#M34889</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2022-12-20T18:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change run time of Cron job</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128745#M34890</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you so much for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;At this time, the Cron job &lt;SPAN class=""&gt;working&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;properly as following picture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;But&amp;nbsp;&lt;SPAN&gt;the&amp;nbsp;property 'backup remote location' still not work. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp; Even I&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;added below two&amp;nbsp;&lt;FONT color="#FF00FF"&gt;properties&lt;/FONT&gt; in following four&amp;nbsp;&lt;FONT size="4" color="#FF6600"&gt;&lt;EM&gt;solrcore.properties&lt;/EM&gt; &lt;/FONT&gt;files :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF00FF"&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;solr.backup.alfresco.remoteBackupLocation=D:/Alfresco/alfresco-community72/alf_data/solr6Backup/alfresco&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;solr.backup.archive.remoteBackupLocation=D:/Alfresco/alfresco-community72/alf_data/solr6Backup/archive&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4" color="#FF6600"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; *\alfresco-search-services\solrhome\alfresco\conf\solrcore.properties&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4" color="#FF6600"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; *\alfresco-search-services\solrhome\archive\conf\solrcore.properties&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4" color="#FF6600"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; *\alfresco-search-services\solrhome\templates\noRerank\conf\solrcore.properties&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="4" color="#FF6600"&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; *\alfresco-search-services\solrhome\templates\rerank\conf\solrcore.properties&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="solr.png" style="width: 544px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1620iF8785742C066D94B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 02:31:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/change-run-time-of-cron-job/m-p/128745#M34890</guid>
      <dc:creator>YanFeiHu</dc:creator>
      <dc:date>2022-12-22T02:31:09Z</dc:date>
    </item>
  </channel>
</rss>

