How to use getApplicationType in 4

It seems that getApplicationType returns 2 for the debug smart client in developer and for an actual JWS client. How can I tell the difference programatically?

If someone has already asked this, please point me to the topic. Thanks.

you cant because it is really just a client.
What do you want to do based on the number 4?

I set certain cron jobs to run for a client that I don’t want to run while I am developing. One of those cron jobs handles session expiration and that one particularly is one I don’t want to run if I am in developer. I causes some major issues.

There is no way at all to discover if I am in “developer” or a JWS client anymore?

Thanks

we will change it for servoy 4.0.1 so that it will return a 3 (== developer)

Much appreciated