[Gambas-user] How to tell what invoked this program?

adamnt42 at ...626... adamnt42 at ...626...
Sat Jun 27 09:49:58 CEST 2015


This is driving me insane!

How can I tell at runtime if the executable was invoked manually by a user or automatically by a scheduler, e.g. cron, anacron, at etc.

Can't use the process userid as it may have been invoked as a user cron job.
I am sure I have done this at least a gazillion times before.... but today????

tia
bruce

-- 
B Bruen <adamnt42 at ...3379... (sort of)>




More information about the User mailing list