|
I recently had a Linux exam One of the questions was Make a cron job print the
message “hello” to stdout at So I added this line to /etc/crontab 15 04 * * * root /bin/echo “hello” Is this the right answer? The reason why I ask is because I think of stdout as being the screen If I put 01 * * * * root /bin/echo “hello” into /etc/crontab I don’t see the work hello on the screen
every minute. Why? Am I missing something? Regards Stuart Clark |
- Re: exam question help please Stuart Clark
- Re: exam question help please James Gibbon
- Re: exam question help please Robert P. J. Day
