1

why doesn't 0 0 * * 1 root hostname >> /tmp/hostname.txt work as a crontab?

view story
linux-howto

http://unix.stackexchange.com – 0 0 * * 1 root hostname >> /tmp/hostname.txt Should run midnight on monday and create a file in /tmp called hostname.txt with the output of the hostname command but it is just a blank file that was created. Why? (HowTos)