Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Curtis
2017-09-07T16:13:34Z
Can you please explain what was changed in 8.2.8 with the CountOccurencies function? I have been running this fine in the previous versions and now I am getting very strange results in the set variable commands using the following command for example:

{STRING(CountOccurencies|{TASK(8a980837-2c29-442d-9b82-3c4898d56f63,StdOut)}|060CHK)} used to sample values:
1 file result was previous: 0 and now: 213. (0 was correct)
a different file result was previous: 0 and now: 4043 (0 was correct)
the same file (different search string) result was previous: 21 and now: 4043 (21 was correct)

I have confirmed the StdOut of the TASK called by straight OUTPUT and now it appears it has something with the search string length and length of files?

Any help would be appreciated as I am not finding a true pattern here.

Thanks,
Curtis
Sponsor
Forum information
ldcron
2017-09-07T19:45:55Z
Need clarification on:

8.2.8 [2017-07-31]
[BUGFIX] Server: Variables->Fixed CountOccurencies string Variable

Support
2017-09-07T20:11:36Z
If you have a string that does not work. Please paste it into a file and add it here and we will test it to see what is wrong.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Curtis
2017-09-07T20:35:08Z
I am attaching a test file where I ran two CountOccurencies with different search terms with the following result:

{STRING(CountOccurencies|{TASK(8a980837-2c29-442d-9b82-3c4898d56f63,StdOut)}|060CHK)} returns 211 should be 0
{STRING(CountOccurencies|{TASK(8a980837-2c29-442d-9b82-3c4898d56f63,StdOut)}|060ACH)} returns 211 Should be 1

  test.txt (3kb) downloaded 43 time(s).
Support
2017-09-08T22:06:00Z
Unfortunately we fixed another issue which caused this. We have now reverted to original functionality. Please try this build:

https://www.visualcron.c....aspx?g=posts&t=7498 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Curtis
2017-09-11T18:11:32Z
This appears to be working again in the new beta.

Thank you.
Scroll to Top