Hello everyone!
I’m running the following MikroTik script from the scheduler:
:local now [/system clock get date];
/tool fetch url=("sftp://user:secret@host/path/Backup_" . $now . ".rsc") src-path=("Backup_" . $now . ".rsc") upload=yes;
The script has the following permissions: ftp, read, write, and sensitive.
When I execute the script manually from the terminal, it runs without any issues.
However, when the scheduler triggers it, I receive the following error message:
executing script from scheduler failed, please check it manually
Could anyone help me understand why this is happening and how to fix it?
I’d really appreciate your assistance!
Thank you in advance!