<?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: Scheduled Cronjob failed to Survive reboot in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133384#M19843</link>
    <description>&lt;P&gt;Thanks for the additional info.&lt;/P&gt;
&lt;P&gt;Please note that the system backup does only backup configuration settings. I would recommend using that method if you are trying to use this backup as a way to restore from a failure or other issue.&lt;/P&gt;
&lt;P&gt;It's not recommended to manually edit the crontab file on gaia. Job scheduler would be the best option if you still wish to use your script. You should be able to script the ability to upload to your external server.&lt;/P&gt;</description>
    <pubDate>Sun, 07 Nov 2021 06:14:10 GMT</pubDate>
    <dc:creator>mcatanzaro</dc:creator>
    <dc:date>2021-11-07T06:14:10Z</dc:date>
    <item>
      <title>Scheduled Cronjob failed to Survive reboot</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133376#M19838</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have created script to take configuration backup of security gateways on monthly basis by cron job. What happened one of the gateway rebooted, post that I am unable to see the scheduled job in crontab, it got auto vanished.&lt;/P&gt;&lt;P&gt;Kindly help me to fix this issue. Cron job should survive reboot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 04:53:27 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133376#M19838</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2021-11-07T04:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Cronjob failed to Survive reboot</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133378#M19839</link>
      <description>&lt;P&gt;Hi Nandhakumar,&lt;/P&gt;
&lt;P&gt;Are you manually editing crontab to accomplish this?&lt;/P&gt;
&lt;P&gt;Any reason why you can't use either the gaia webui or the clish "add/set backup-scheduled" commands instead?&lt;/P&gt;
&lt;P&gt;These methods will update crontab accordingly.&lt;/P&gt;
&lt;P&gt;Also see job scheduler:&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_Gaia_AdminGuide/Topics-GAG/Job-Scheduler.htm" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/R81/WebAdminGuides/EN/CP_R81_Gaia_AdminGuide/Topics-GAG/Job-Scheduler.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 05:22:39 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133378#M19839</guid>
      <dc:creator>mcatanzaro</dc:creator>
      <dc:date>2021-11-07T05:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Cronjob failed to Survive reboot</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133380#M19841</link>
      <description>&lt;P&gt;Hi Mcatanzaro,&lt;/P&gt;&lt;P&gt;My requirement is to take only firewall configuration backup "show configuration". So I wouldn't use system backup for that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I created script (backupscript.sh) in /home/admin directory and used in crontab.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I edited crontab with below line.&lt;/P&gt;&lt;P&gt;20 06 7 * * /home/admin/backupscript.sh&lt;/P&gt;&lt;P&gt;Assigned full permission to the script file. User is admin, who is executing the script having full rights.&lt;/P&gt;&lt;P&gt;Only problem was that crontab entry got removed automatically if gateway reboots.&lt;/P&gt;&lt;P&gt;I tried to use job scheduler but it doesn't have option to transfer file to FTP server. It has only option to send output to email.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 05:54:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133380#M19841</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2021-11-07T05:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Cronjob failed to Survive reboot</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133384#M19843</link>
      <description>&lt;P&gt;Thanks for the additional info.&lt;/P&gt;
&lt;P&gt;Please note that the system backup does only backup configuration settings. I would recommend using that method if you are trying to use this backup as a way to restore from a failure or other issue.&lt;/P&gt;
&lt;P&gt;It's not recommended to manually edit the crontab file on gaia. Job scheduler would be the best option if you still wish to use your script. You should be able to script the ability to upload to your external server.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 06:14:10 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133384#M19843</guid>
      <dc:creator>mcatanzaro</dc:creator>
      <dc:date>2021-11-07T06:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Cronjob failed to Survive reboot</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133387#M19846</link>
      <description>&lt;P&gt;Thanks, I am able to schedule job using job scheduler and it survives reboot.&lt;/P&gt;&lt;P&gt;Just one question.. Does the scheduled job will be in place even if I upgrade/hotfix gateway? I know it will gone if i do fresh install but just want to know how it behaves after upgrade or patch?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 06:51:29 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133387#M19846</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2021-11-07T06:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Cronjob failed to Survive reboot</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133388#M19847</link>
      <description>&lt;P&gt;As this is GAiA OS config it should not be removed by a Jumbo or other Hotfix. It should also survive any in-place-upgrade - but you better&amp;nbsp;always check after upgrade to be secure&amp;nbsp;8)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 08:16:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/133388#M19847</guid>
      <dc:creator>G_W_Albrecht</dc:creator>
      <dc:date>2021-11-07T08:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled Cronjob failed to Survive reboot</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/134220#M20090</link>
      <description>&lt;P&gt;Verified that it survives reboot as well as in place upgrade. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 07:33:21 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Scheduled-Cronjob-failed-to-Survive-reboot/m-p/134220#M20090</guid>
      <dc:creator>Nandhakumar</dc:creator>
      <dc:date>2021-11-17T07:33:21Z</dc:date>
    </item>
  </channel>
</rss>

