• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

How do I schedule captures on a recurring basis?

Scheduled Pinned Locked Moved
General
3
4
539
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y
    Yeet
    last edited by Sep 10, 2021, 2:04 PM

    I’ve been managing a FOG server for about 9 months now, and today I was requested to find a way to schedule either weekly or nightly captures of devices to function as a backup. They had spoken with someone that does this on a FOG server currently, but I wasn’t given their contact info so I’m not sure how it works.

    How would I achieve this? I’m not sure exactly what scheduling capabilities FOG has, so I figured I’d ask here.

    Any help is appreciated, I need to make this work.

    1 Reply Last reply Reply Quote 0
    • D
      DBCountMan
      last edited by Sep 10, 2021, 2:31 PM

      I would guess a Group capture would be necessary. If we can find out what commands/scripts run when you run a Group Capture task, we can then send it to a cronjob that would run on a schedule. Can the devs chime in?

      Y 1 Reply Last reply Sep 10, 2021, 2:56 PM Reply Quote 0
      • Y
        Yeet @DBCountMan
        last edited by Sep 10, 2021, 2:56 PM

        @brakcounty Since I’ve posted this I’ve discovered the cronjob option. I guess I’m just confused how this will work in the future with Secure Boot. If I have a scheduled task, I’d need secure boot off so it can PXE boot. Unless there’s an option to boot into fog with secure boot enabled, but I haven’t found anything

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth Sep 11, 2021, 11:39 PM Sep 12, 2021, 5:37 AM

          @yeet Good you have found FOG’s cron scheduled taskings. That’s the way to go for what you are asked to do.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            1/4
            Last post

          150

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project