I am trying to test to see if a file has been changed in the last hour. I set up a trigger to test now - vfs.file.time[file].last(0)>3600. I kept getting an Expression Error 0-0>600.
After a little more testing I tried now + 600 > vfs.file.time[file].last(0). This let me create the expression, but it always showed failure. When I checked the server log I got
Checking the mysql table functions I see
I am wondering if perhaps the number is too large and is being evaluated to 0 or if there is something else I am missing that might be causing the trouble.
If the number is too large, can I use arithmetic functions in items so that the number collected is smaller?
Thanx for any help.
After a little more testing I tried now + 600 > vfs.file.time[file].last(0). This let me create the expression, but it always showed failure. When I checked the server log I got
Code:
031506:20060921:202042 Evaluation of expression [(1158870042.000000)+600>({12404})] failed [Unable to get value for functionid [12404]]
031506:20060921:202042 Expression [({12403})+600 >({12404})] cannot be evaluated [Unable to get value for functionid [12404]]
Code:
| 12403 | 19476 | 13251 | 1158871801 | now | 0 | | 12404 | 19474 | 13251 | 1158870635 | last | 1 |
If the number is too large, can I use arithmetic functions in items so that the number collected is smaller?
Thanx for any help.
Comment