M
M
Matsour2019-04-12 11:42:56
bash
Matsour, 2019-04-12 11:42:56

How to fix No such file or directory in bash?

The scheduled job for data parsing is running. There is an error in the cron logs. How can this be fixed?
Logs:
"curl -s ' i2.site.ru/wsg.php ' > /home/users/r/123456789/domains/i2.site.ru/wordstat.txt" "/bin/bash: /home/users/ r/123456789/domains/i2.site.ru/wordstat.txt: No such file or directory"
These files are present. I will say right away that I did not write the code. I'm trying to figure it out, so any help would be greatly appreciated.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Bragin, 2019-04-12
@aywan

Check write permissions to the directory of the user under which cron is run.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question