Problems with Windows Task Scheduler

后端 未结 3 2039
我在风中等你
我在风中等你 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: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.

提交回复
热议问题