Welcome, Guest
Username: Password: Remember me

TOPIC:

Scheduled Task does Execute Python code 1 year 2 months ago #19285

  • DeanCovey
  • DeanCovey's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 222
  • Karma: 1
  • Thank you received: 13
I have a package that works perfectly when I run from the design tab. However, when I go to schedule the task with windows task scheduler, then every thing seems to execute except my python scripts. The scripts are updating the Trello API.


Attachments:

Please Log in or Create an account to join the conversation.

Scheduled Task does Execute Python code 1 year 2 months ago #19286

  • admin
  • admin's Avatar
  • Offline
  • Moderator
  • Moderator
  • Deeds not Words
  • Posts: 7914
  • Karma: 33
  • Thank you received: 489
Most likely the software is unable to find python libraries.
Have you installed python for all users?
Mike

Please Log in or Create an account to join the conversation.

Scheduled Task does Execute Python code 10 months 1 week ago #19553

  • DeanCovey
  • DeanCovey's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 222
  • Karma: 1
  • Thank you received: 13
Haven't had a chance back to this. No, it's not all for users. Do I need to reinstall it?

Please Log in or Create an account to join the conversation.

Scheduled Task does Execute Python code 10 months 1 week ago #19554

  • admin
  • admin's Avatar
  • Offline
  • Moderator
  • Moderator
  • Deeds not Words
  • Posts: 7914
  • Karma: 33
  • Thank you received: 489
Yes uninstall it and install it again for all users. Also remember that 32 bit version uses 32 version of python same for 64 bit.
Mike

Please Log in or Create an account to join the conversation.

Scheduled Task does Execute Python code 10 months 1 week ago #19556

  • DeanCovey
  • DeanCovey's Avatar Topic Author
  • Offline
  • Gold Boarder
  • Gold Boarder
  • Posts: 222
  • Karma: 1
  • Thank you received: 13
I always run into trouble. I am running 64-bit Advanced ETL and Python 3.7 (64-Bit). Thoughts?

Attachments:

Please Log in or Create an account to join the conversation.

Scheduled Task does Execute Python code 10 months 1 week ago #19558

  • admin
  • admin's Avatar
  • Offline
  • Moderator
  • Moderator
  • Deeds not Words
  • Posts: 7914
  • Karma: 33
  • Thank you received: 489
You may have multiple pythons installed without even knowing about it

This script will print version info. Try running it from the scheduler

import etltools;
import sys;
etltools.WriteToLog(sys.version);
Result.Value = 1;
Mike

Please Log in or Create an account to join the conversation.

We have 62 guests and no members online