Problems with Windows Task Scheduler

后端 未结 3 2004
我在风中等你
我在风中等你 2021-01-24 06:35

I have two problems with Windows Task Manager: One, I have a Python script that sends an email notification, through gmail, at the end of the run. This works fine when I run the

相关标签:
3条回答
  • 2021-01-24 07:08

    It could be that you need to specify where it starts in. This is important if you make local references in your program. This would also result in your program running fine, but not doing everything it is built to do.

    Inside task scheduler, see "Actions", then edit an action. It's the parameter it says is optional.

    0 讨论(0)
  • 2021-01-24 07:09

    The Task manager doesn't display any GUI for the current user.

    You need to be login as system.

    0 讨论(0)
  • 2021-01-24 07:11

    A similar thing happened with me ( while using PHP ) and I found out the reason that I had put a relative path to a file to be included in the code.

    include("./lib/libfile.php");
    

    Later when I replaced it with the absolute path it worked all right.

    include("D://code/lib/libfile.php");
    

    You might have a similar problem.

    0 讨论(0)
提交回复
热议问题