How to know the interactive/crontab mode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • zapatax
    New Member
    • Jul 2006
    • 1

    #1

    How to know the interactive/crontab mode

    Hi, I wish to know from within a python script whether I'm being executed interactively or by a crontab, so I won't ask for confirmation in the latter case. Is this possible? and in Jython? Thanks in advance.
Working...