Detect running from Scheduler with only a /x parameter

syswizard

Registered User.
Local time
Today, 16:00
Joined
Dec 27, 2008
Messages
60
Without putting a /CMD parameter value in the command line, is there any way to detect in VBA that the current state of the application is that it is executing from a scheduled task ?

What's happening is that my Outlook email is failing because a Namespace Logon method cannot be invoked when there is no user logged in.
I must jump over that statement when running from a scheduler.
 
Appreciate it. If it's False, then it's running on the scheduler.
 

Users who are viewing this thread

Back
Top Bottom