I
I
ITF2021-09-05 19:36:02
cmd/bat
ITF, 2021-09-05 19:36:02

Why is the scheduler not executing bat?

I created a bat file with a simple line:
echo hello > 1.txt
I run it through the scheduler - it says that the task has been completed, but the 1.txt file has not been created.
Runs on behalf of the system.

There is a more complex file that should archive files and send them to ftp.
It archives the files, but the part with sending via ftp does not work, and it does not display any errors.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ITF, 2021-09-05
@ITF

Question removed.
Path error.
Added a line to set the current directory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question