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

    How do I tell if an upload completes successfully?

    Scheduled Pinned Locked Moved
    General
    3
    3
    1.4k
    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.
    • D
      daveymg
      last edited by

      I can’t find any logfiles that tell me whether an image upload completes successfully. The Fog reports menu has a report for image deployments but nothing (that I can find) for uploads.

      Thanks,

      1 Reply Last reply Reply Quote 0
      • C
        chad-bisd Moderator
        last edited by

        I don’t think there is a current report for this. I don’t even know if it’s logged to the database. If you just HAVE to know, you can try creating a plug-in that reports back after the imaging is complete, or you can update the scripts to report back to FOG somehow.


        If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

        1 Reply Last reply Reply Quote 0
        • F
          Fernando Gietz Developer
          last edited by

          You can update the code to do it.
          There are some elements: imagingLog table in FOG database, pre_Stage1.php and post_Stage3.php webservices. Those webservices are located in /var/www/fog/service.

          When FOG makes a tasks, those tasks write a log in imagingLog table (make a checkin/checkout). Well, the fog script, that runs in the computer, calls to a webservice when the task begin. This webservice is pre_Stage1.php and makes the checkin. When the task ends, the script calls to post_Stage3.php to make a checkout. You must update the checkin and checkout functions to add the taskType in the imagingLog (you must add a new column in imagingLog table), and filter the task type. After this, you can make a personal report.

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

          157

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project