Skip to content Skip to sidebar Skip to footer

Python Subprocess.call On Sfxcl.exe Not Working From Windows 2003 Task Scheduler

I have written a script in Python to call SecureFX's commandline tool (sfxcl.exe) result = subprocess.call([securefx, '/NoPrompt', '/Q', '/RetryCount', retries, '/

Solution 1:

So I've found the problem and it really is quite dumb. If it works manually, you should expect it to work in the Task Scheduler.

Now, I forgot to mention that it was using another account in the Scheduler, and that account didn't have SecureFX sessions/config set up and thus only that part didn't run.

It isn't a Python problem.

Post a Comment for "Python Subprocess.call On Sfxcl.exe Not Working From Windows 2003 Task Scheduler"