ユーティリティを使用してWindows-XPでタスクをスケジュールしましたschtasks
が、タスクが実行されません。SchedLgU.Txt
ログファイルに表示される内容は次のとおりです。
"MySQL Automatic Backup.job" (WampServer) 10/2/2010 6:36:43 PM ** ERROR **
Unable to start task.
The specific error is:
0x800700c1: (Unable to find an error message)
Try using the Task page Browse button to locate the application.
このエラーの理由は、スクリプトへのパスのスペースにあることがわかりました。タスクの設定に使用したコマンドは次のようになります。
schtasks /create /tn "MySQL Automatic Backup"
/tr "d:\path with spaces to my script\my script.bat" /sc daily ...
たとえば、スペースをアンダースコアに置き換えると、問題は解消されます。
どうすればこの問題を解決できますか?
そして別の質問:の出力で列は
何を意味しますか?Start In
schtasks /query /v
ありがとう !