Answer the question
In order to leave comments, you need to log in
Why is the script not working through the cron scheduler?
In general, the script works manually and creates a normal archive with a normal size, and if cron works, then for some reason I get a 45 kb file. Maybe I missed something - tell me how to be.
Answer the question
In order to leave comments, you need to log in
what does the script output to stdout when run from cron?
The most common mistake is that when a user logs in, all sorts of .bashrc and .profile are executed, but not when launched from cron, so it’s trite in PATH there may not be the necessary paths to, for example, mount.cifs
add root in the task launch line in the cron:
0 22 * * * root /etc/skript and the cron
log in case of not processing, you need to look, it will be immediately visible there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question