Start timer implementation (Automation feature) #90
Replies: 2 comments 3 replies
-
I'll pass the request along, but it would not be a trivial implementation because the most robust way of dealing with task scheduling is going to require interacting with the OS task/job scheduling system. In lieu of waiting for this I would highly recommend using CZICompress CLI tool as opposed to the CZIShrink GUI for scheduled automations. The README of that directory shows examples for batch processing files with Bash and PowerShell, but any scripting language capable of invoking an external process is able to do the same thing. Leveraging the Windows Task Scheduler (for Windows) or a cron job (for UNIX-based OS) would most likely be the path of least resistance. Some caveats to using CZICompress directly (ie things to handle in the wrapping script):
|
Beta Was this translation helpful? Give feedback.
-
The most recent versions of ZEN and ZEN core will produce compressed CZIs by default. If your ZEN version is a bit older (but not too much) you may be able to turn on compression during experiments in the Acquisition Options. If CZIs are saved compressed from the start there will be no need for an extra step to compress them afterwards. |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
The GUI is great, however, I need to automate the compression process. Because of security issues at work, I couldn't use Remote-Desktop. I also can't do the compression during work hours, because the data has to be available. So an automation feature in the platform would be of great benefit.
Describe alternatives you've considered
I initially thought of making another GUI that automates the compression tasks using czicompress (since I don't know .NET), but I thought, the integration of even a start timer in means of automation on original developers part would be much easier. It would be of benefit in general too, since the compression is needed to be applied on big databases in data servers with multiple users.
So basically I am asking for the implemetation of a start timer, and maybe with time and interest an automation structure to run compression in set intervalls, make reports, give the option to check files for errors, replace uncompressed data upon check, etc.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions