I've just learned about cron and I've been messing around with it a little bit but I have some doubts about how is it working. From what I suspect, a task is being stopped from performing if it tries to get/send any I/O from/to terminal? I'm asking because I've chained some commands using && and it looked like anytime there would be a stdout/err that wasn't redirected to a file, the rest of the script wouldn't run.
I'm new to Linux so I maybe get this wrong, I hope some of you could explain to me what happens.
L.E: My task would be
* * * * * root apt-get check && apt-get update > /home/user/text.txt && echo "Test" > /home/user/smth.txt
And it looked that because stderr wasn't also redirected to text.txt, the task wouldn't continue.