My below cronjob is not working. What am I doing wrong here??
*/5 * * * * /usr/bin/top -n1 | head -10 >>/tmp/load.txt
|
My below cronjob is not working. What am I doing wrong here??
|
||||
| show 2 more comments |
|
The So either run:
Or:
Or if you need the output suitable for any given terminal, specify it as
|
|||
|
|
headtoo?*/5 * * * * /usr/bin/top -n1 | /usr/bin/head -10 >>/tmp/load.txt– manatwork Mar 14 at 7:38