1
vote
1answer
2k views

Problems with cron script and TERM definition using top command

I have a problem executing a cron process to check current CPU use in my server. My script start with: top -c -n 1 -u www-data > /tmp/kill-cpu I can execute without problem in console, but in ...