Re: Feature Request: Test file presence / absence before running profile
Posted: Thu Dec 16, 2021 10:40 pm
Update:
I have it running using the PascalScript on one of the 4 profiles on 9.42.
The difference tonight is that the profile with the script is now using a timed schedule (1 minute intervals). Previous tries it was set to real-time monitoring.
The other three are still using real-time and always have.
I did note in my haze last night that the profile using the script seemed to be repeatedly firing when the script returned false (without stopping). The status line in the GUI was flickering repeatedly. Perhaps it was overwhelming a stack or thread somewhere causing the other profiles not to be able to re-instantiate new file monitor waits?
The only retry setting enabled in these profiles is to wait for file access for 1 minute. On the database replication profile which uses the script to check for LDB files, that script returning false supersedes the wait, aborting the sync attempt until the next scheduled interval.
I have it running using the PascalScript on one of the 4 profiles on 9.42.
The difference tonight is that the profile with the script is now using a timed schedule (1 minute intervals). Previous tries it was set to real-time monitoring.
The other three are still using real-time and always have.
I did note in my haze last night that the profile using the script seemed to be repeatedly firing when the script returned false (without stopping). The status line in the GUI was flickering repeatedly. Perhaps it was overwhelming a stack or thread somewhere causing the other profiles not to be able to re-instantiate new file monitor waits?
The only retry setting enabled in these profiles is to wait for file access for 1 minute. On the database replication profile which uses the script to check for LDB files, that script returning false supersedes the wait, aborting the sync attempt until the next scheduled interval.