0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

PyInstallerで作ったファイルをTaskSchedulerで起動するとエラーになる

Posted at

手動だと起動できるのに、タスクスケジューラ経由だとできない問題。
Failed to execute scriptというメッセージは表示される。

解決法

開始 (オプション)を指定してあげる
image.png

参考にしたページ

ここのコメントにリンクがあって、
https://github.com/pyinstaller/pyinstaller/issues/4568

ここに解決法がありました。
https://stackoverflow.com/questions/51948219/pyinstaller-generated-exe-doesnt-run-with-windows-task-scheduler

0
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?