<?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 Auto-commit in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/49724#M36625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there a way to set the auto-commit on a schedule?, and if i have changes of configuration pending, the autocommit will apply the changes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 00:10:02 GMT</pubDate>
    <dc:creator>JosueFernando</dc:creator>
    <dc:date>2013-11-26T00:10:02Z</dc:date>
    <item>
      <title>Auto-commit</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/49724#M36625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there a way to set the auto-commit on a schedule?, and if i have changes of configuration pending, the autocommit will apply the changes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 00:10:02 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/49724#M36625</guid>
      <dc:creator>JosueFernando</dc:creator>
      <dc:date>2013-11-26T00:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-commit</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/49725#M36626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As of now there isn't a way to do the same. But there is a feature request(&lt;STRONG style="color: #333333; font-family: verdana, arial, tahoma, sans-serif; font-size: 13px;"&gt;ID:&lt;/STRONG&gt;&lt;SPAN style="color: #333333; font-family: verdana, arial, tahoma, sans-serif; font-size: 13px;"&gt; 1041&lt;/SPAN&gt;) in place.Please have your SE vote for the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 03:18:29 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/49725#M36626</guid>
      <dc:creator>sraghunandan</dc:creator>
      <dc:date>2013-11-26T03:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-commit</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/49726#M36627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wrote a small Bash script that you can schedule with cron to perform a nightly auto-commit via the API.&amp;nbsp; If you need help getting started with the API, this doc was awesome:&amp;nbsp; &lt;SPAN style="color: #0000ff; font-size: 10pt; font-family: 'franklin gothic book', 'sans-serif';"&gt;&lt;A _jive_internal="true" href="https://live.paloaltonetworks.com/docs/DOC-4126"&gt;https://live.paloaltonetworks.com/docs/DOC-4126&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14247918357861079" jivemacro_uid="_14247918357861079"&gt;
&lt;P dir="ltr" style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;$ cat panorama-commit.sh&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir="ltr" style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;#!/bin/bash&lt;/SPAN&gt;&lt;/P&gt;
&lt;P dir="ltr" style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;wget --no-check-certificate '&lt;A class="jive-link-external-small" href="https://hostname.com/api/?type=commit&amp;amp;cmd=" rel="nofollow"&gt;https://hostname.com/api/?type=commit&amp;amp;cmd=&lt;/A&gt;&amp;lt;commit&amp;gt;&amp;lt;/commit&amp;gt;&amp;amp;key=*****SUPERLONGAPIKEYJUNK********' -O - &amp;gt;&amp;gt; commitlog.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Make sure to remove global read access to the script because it contains the API key.&amp;nbsp; Here's the cron table.&amp;nbsp; Make sure to have the path you're executing the script from configured in the cron tab.&amp;nbsp; I edited mine out for brevity.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14247918542435927" jivemacro_uid="_14247918542435927"&gt;
&lt;P dir="ltr"&gt;&lt;SPAN style="font-family: 'franklin gothic book', 'sans-serif'; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="ms-rteFontFace-2"&gt;$ crontab -l&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="ms-rteFontFace-2" dir="ltr" style="margin: 0 0 0 0.5in;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;0 8 * * * ./panorama-commit.sh&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Sample log output:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14247918786285722" jivemacro_uid="_14247918786285722"&gt;
&lt;P style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333330154419px;"&gt;&lt;SPAN class="ms-rteFontFace-2" style="font-size: 10pt;"&gt;$ cat commitlog.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="ms-rteFontFace-2" style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333330154419px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;lt;response status="success" code="19"&amp;gt;&amp;lt;result&amp;gt;&amp;lt;msg&amp;gt;&amp;lt;line&amp;gt;&lt;SPAN style="background: yellow;"&gt;Commit job enqueued with jobid 2274&lt;/SPAN&gt;&amp;lt;/line&amp;gt;&amp;lt;/msg&amp;gt;&amp;lt;job&amp;gt;2274&amp;lt;/job&amp;gt;&amp;lt;/result&amp;gt;&amp;lt;/response&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 15:29:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/49726#M36627</guid>
      <dc:creator>mgentile</dc:creator>
      <dc:date>2015-02-24T15:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-commit</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/175129#M54917</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/10466" target="_self"&gt;&lt;SPAN class=""&gt;mgentile&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was interested to read your post about scheduling a commit on your Palo's. I had thought that something could be done with crontab and when I read your post i was really pleased.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I do have a question...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you written the bash script and run it from another server/device or is the script located on your Palo and you have scheduled using the Palo's crontab? If you have done it on the Palo how have you accessed the crontab? where did you locate the script? can you provide a little more detail? I'll be honest linux/unix are not my forte - I know a little to get by!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stu&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 08:45:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/175129#M54917</guid>
      <dc:creator>Stuart_Walton</dc:creator>
      <dc:date>2017-09-06T08:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-commit</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/175134#M54921</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/9112"&gt;@Stuart_Walton&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's run on another device.&lt;/P&gt;
&lt;P&gt;Check this link on getting started with the API&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/Management-Articles/Getting-Started-with-the-API/ta-p/65889" target="_blank"&gt;Getting Started with the API&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers !&lt;/P&gt;
&lt;P&gt;-Kiwi.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 09:07:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/175134#M54921</guid>
      <dc:creator>kiwi</dc:creator>
      <dc:date>2017-09-06T09:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: Auto-commit</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/175136#M54923</link>
      <description>&lt;P&gt;Thanks Kiwi!!!!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 09:46:47 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/auto-commit/m-p/175136#M54923</guid>
      <dc:creator>Stuart_Walton</dc:creator>
      <dc:date>2017-09-06T09:46:47Z</dc:date>
    </item>
  </channel>
</rss>

