×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Execute script after each capture ?

  • Posts: 123
  • Thank you received: 10
Hello,
Is-it possible to execute a script (sh or py) after each capture in the scheduler ?
I would like to write in a file some information about the weather (from Openweathermap) for each capture.
Thank you,
Frank
Last edit: 2 years 4 days ago by Frank.
2 years 4 days ago #81704

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226
Not a feature that I know of. But would make for a good addition to the capture module as opposed to the scheduler. Maybe open a thread for it under Wishlist. Otherwise your next option is to write an external script that runs as the images are saved.
2 years 3 days ago #81705

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 16
There is a Script Manager tool in the capture tool. You can have it execute a script pre or post Job or pre or post capture. I use it to execute a script after each capture to sync my captures to network storage from my PI4.
2 years 3 days ago #81710

Please Log in or Create an account to join the conversation.

  • Posts: 36
  • Thank you received: 16
Sorry about the multiple posts. I keep getting an error when I hit submit and hit submit a few times.
The following user(s) said Thank You: Jasem Mutlaq
2 years 3 days ago #81713

Please Log in or Create an account to join the conversation.

  • Posts: 1309
  • Thank you received: 226
Ah! 'Tunafish' is correct. I must be blind. Sorry for the bad advice.
2 years 2 days ago #81742

Please Log in or Create an account to join the conversation.

  • Posts: 123
  • Thank you received: 10
Hello,
Sorry for this delay.
And yes, perfect, I didn't see that :blush:
Thank you so much,
Frank

PS. How can I get the name of the capture for a script ?
Last edit: 2 years 1 day ago by Frank.
2 years 1 day ago #81790

Please Log in or Create an account to join the conversation.

  • Posts: 62
  • Thank you received: 8
The following user(s) said Thank You: Frank
1 year 11 months ago #82088

Please Log in or Create an account to join the conversation.

Time to create page: 0.850 seconds