File Mover Blog

  • 13 Apr

    Running a python script with Command as source but rule doesn’t end

    Running a python script with Command as source but rule doesn’t end

    Q: I’m trying to setup a rule with a cmd as source, it executes a python script. When I execute the rule, it works well (I have the expected result), but the rule doesn’t end. So, I don’t have any output in the Limagito GUI.

    It seems that the process continues to run :

    20/01/2025 12:08:02 Execute Rule Request from administrator at 192.168.92.38 []

    20/01/2025 12:08:02 Execute Command as Source: [CMD] Command, Command Line: CMD /C python xxx\mediaprint_api_v3.py

    20/01/2025 12:08:02 Set CMD as Source Output to C:\Users\ADMINI~1\AppData\Local\Temp\LimagitoX\LimagitoX.83\

    20/01/2025 12:08:02 Execute M1 Command, Exception Error: Cannot perform this operation when process is running

    20/01/2025 12:08:02 Execute Command as Source Succes, ExitCode : 4294967295, Result Path: C:\Users\ADMINI~1\AppData\Local\Temp\LimagitoX\LimagitoX.83\

    20/01/2025 12:08:07 Rule Disabled by administrator at 192.168.92.38 []

    Should I check an option when configuring the rule to avoid that ?

    A: You are using CMD /C so that part is OK. I guess you need to add something to the python script that will close afterwards.

    ChatGPT info:

    limagito file mover Running a python script

    Customer feedback:

    Indeed, i was trying things and I it ended successfully with a sys.exit(0)

    If you need any help with this ‘Running a python script’ question, please let us know.

    Best Regards,

    Limagito Team

    #python #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Command ,
  • 13 Apr

    Rule with fixed scheduled day don’t start

    Rule with fixed scheduled day don’t start

    Q: We have a problem con this Rule. 11 day of every month. Don’ t start.  If I run it by hand it starts and move the files perfectly. What am I doing wrong?

    limagito file mover fixed scheduled day

    A: Could you please check your file filter setup. If stabilize file option is enabled, please disable it. Feedback would be appreciated.

    • Our advice is not to use the ‘Stabilized File Check’ option with our ‘Windows as Source’ option. Instead use ‘Exclude Files in Use’.
    • Do not enable ‘Exclude Files locked By Other Moving Rules’ if you are not sure what this option does.
    • The ‘Stabilized File Check’ can be used with other Source options (like FTP, SFTP, ..). Remember that it needs at least two scans (triggers) to get a file moved/copied/deleted. The reason is that during the first scan, the system checks the file size and then at the next scan (second trigger), it compares the current file size with the previous measurement. If the sizes match, the file will be handled. If not, a third scan is needed, and so on.

    limagito file mover file filter stbilized file check option

    Feedback customer:

    Yes, with stabilize file disabled, now is working.

    If you need any help with this option, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Q&A ,
  • 10 Apr

    Having some CPU performance issues running the file mover service

    Q: Im having some CPU performance issues running  the file mover service on windows server 8cpu 32g ram in Azure. Would you be able to offer any advice on optimising the file mover rules? I tried the prefix filter as you told me and it definitely improved the speed that the rules execute but I found it still maxed out all CPUs while running (i also increased to 16cpu as a test), i tried with affinity set to allow only 3 CPU and timing is fine as well as not affecting the VM running. However that wont persist after reboot so i need to run a script or find some other solution have you come across this before? any way to set max cpu core in the application?

    A: You don’t need paid support as long as you license is active. In version v2025.4.10.0 we added the following option: ‘Process Affinity’. This way you can limit the amount of cores our engine will use.

    In the following example the system has 4 cores (0,1,2,3) and the engine is limited to use core 0 and 1 ( 0,1 )

    limagito filemover cpu performance issue

    If you need any help with this “CPU performance issues” option, please let us know.

    Best Regards,

    Limagito Team

    #managedfiletransfer #filetransfer #filemanagement

    By Limagito-Team Q&A , ,
1 2 3 4 5 151
SEARCH