Why doesn't cron?

With cron to face for the first time. Like everything should be easy: edit using crontab-e. The basic command to check: * * * * * ls. Not working. Accordingly, all the rest is also not working.
Log var/log/cron: Feb 11 17:30:01 CROND[3532]: (webmaster) CMD (ls), every minute runs, but the terminal is not displayed.
In etc/crontab these environment variables:
It should work, any pitfalls not described anywhere. Why does not even the basic commands? The last blank line is in crontab-e. Without it also does not work, if that.
July 2nd 19 at 17:33
2 answers
July 2nd 19 at 17:35
Cron is a daemon, it will not output anything, it just performs the specified task.
If you want to output, redirect it to a file, for example.
Even write the email in a MAILTO, then a conclusion will come in the mail if it is mail configured correctly.
* * * * * ls-l >> /tmp/cron.ls.log
July 2nd 19 at 17:37
And why should you show something?
In General don't have :)
OK, the echo command should output? - jermain.Kerlu commented on July 2nd 19 at 17:40
: there should not.
below you have described a "Cron is a daemon, it will not output anything, it just executes the job."

Want to see the crown you need its output to redirect for example to a file. - logan66 commented on July 2nd 19 at 17:43

Find more questions by tags Linux