Forum

Author Topic: batch process file and automatic shutdown  (Read 8354 times)

Agora3D

  • Newbie
  • *
  • Posts: 9
    • View Profile
batch process file and automatic shutdown
« on: August 22, 2014, 05:30:16 PM »
Dear photoscan team,

I'm processing a lot of models overnight or during week-end. So far I'm creating models in one file with 10 different chunk using batch process, but in the end I have a very heavy file, so I was wondering if it would be possible to have a batch that switch from one file to the other when each process is finish to have lighter file.

Also I was wondering if the batch could include a "shut down the computer when processing finish".

Thanks!

nicokalo

  • Newbie
  • *
  • Posts: 27
    • View Profile
    • Photographe corporate paris
Shutdown or email when the task is done
« Reply #1 on: October 20, 2018, 09:30:01 AM »
Hi there,

I’d be happy to receive an email from agisoft automatically when the task is done.
For exemple right now I have 48 hours of computation of filtering depth maps.
As I am using a cloud computer and I pay per hour, being able to have a notification when it’s done would be very useful.

This, or an automatic shutdown of the computer to save electricity and help saving the planet ;)

Thanks !
My website as a professionnal photographer in Paris.
Photographe institutionnel paris
Photographe corporate paris

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: Shutdown or email when the task is done
« Reply #2 on: October 25, 2018, 05:12:00 PM »
Hello nicokalo,

In another thread I have posted an example of script for Professional edition that shuts down the computer (if you add the script as the final batch processing step):
http://www.agisoft.com/forum/index.php?topic=996.msg43795#msg43795

Sending e-mail can be also scripted, actually.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Hamish

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: Shutdown or email when the task is done
« Reply #3 on: December 01, 2018, 11:20:37 PM »
Would it be possible to have a selectable option to make the computer shutdown or sleep as a final batch processing step in the standard version of photoscan?

When I leave photoscan processing overnight I often find it still working when I leave for work in the morning, then when I get home 13 hours later discover that the processing completed twenty minutes after I left the house.

M.B.Bayati

  • Newbie
  • *
  • Posts: 11
    • View Profile
    • UAV Mapping services
Re: batch process file and automatic shutdown
« Reply #4 on: November 30, 2023, 08:46:56 PM »
Dear Alexey
Please add this favorite function to batch process in Metashape 2.
Actually we need to shutdown after finishing batch process task in Metashape.
Thanks

Mohammad Bagher Bayati
SkyMap Innovator LLC
www.SkyMap.ir

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14813
    • View Profile
Re: batch process file and automatic shutdown
« Reply #5 on: December 04, 2023, 02:14:24 PM »
Hello!

I think you may consider creating a simple Python script that allows to shutdown the computer and add it to the very end of the batch.
Different options to shutdown the computer depending on the OS are discussed in the following thread: https://stackoverflow.com/questions/34039845/how-to-shutdown-a-computer-using-python

At the moment we are not planning to add the shutdown option to the batch process dialog, as it would likely cause accidental shutdowns by the users who were not intending to do that.
Best regards,
Alexey Pasumansky,
Agisoft LLC