That ought to be working OK. What is defined in “DelayNowDoWhatNot”. What I suggest you do is something like this:
+ I DoThis
+ I DoThat
+ I Schedule 1500 Exec exec xmessage "hello"
And run that function the same number of times. If you’re not noticing any mis-runs, it’s probably your function. If you really want a synchronised delay, then you might try replacing the Schedule line with:
I think I’ll try it with the sleep for 2s delay, and see if that fixes it… I am also trying to log my steps through my function, but can’t seem to get my print to write out to file. below is my Piperead to write to file, can you see anything wrong with it?
+ I PipeRead `echo "in the function" >> /var/log/myLog.txt`