Not that I know of.
Get ( ScriptName ) = Get ( UserName )
Seems a pretty straight forward test to confirm that the script has been called by a server schedule.
thanks - I'll go with that -
I was surprised that get(username) returned the script name
It suprised me too when I first discovered this, but it was a pleasant suprise as it was just what I needed to set up a script to skip certain non server side compatible script steps when run from the server.
I have a couple of custom functions : Running Server Side, Running Client Side
Running Server Side = PatternCount ( lower ( Get ( ApplicationVersion ) ) ; "server" )
Running Client Side = not Running Server Side
This way a script can know if it's running on your server or not.