Sorry, could you help me to know how can I run command top from cron?

I run my program in line and I don’t  have problems , I have my file:

 

14 2 * * * /users/montiel/prueba

 

 

prueba meaning test

 

cat > prueba

/usr/bin/ top –d1 –s1 > /users/montiel/out_prueba

 

 

when I run this by cron the result by mail is:

 

 

===========================

Subject: cron

Sorry, I need to know a more specific terminal type than 'unknown'.

===========================

 

how can I redirect a terminal with cron???

 

 

 

In sun is o.k.

In hp is not o.k.

 

 

Thanks Daniela.

 

 

Reply via email to