OpenVZ Forum


Home » General » Support » *SOLVED* vzctl restart from crontab
*SOLVED* vzctl restart from crontab [message #14612] Tue, 03 July 2007 12:58 Go to previous message
jonasb is currently offline  jonasb
Messages: 20
Registered: July 2007
Junior Member
Im trying to restart a VE from crontab. But I get "operation timed out" everytime.

*/2 * * * * /usr/sbin/vzctl restart 666 >>/tmp/log 2>&1

cat /tmp/log

Restarting VE
Stopping VE ...
Unable to stop VE: operation timed out

I have tried "vzctl stop" with the same results. But "vzctl start" works.
If I run it from normal shell it works.

Any ideas?

[Updated on: Thu, 05 July 2007 08:48] by Moderator

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multicast between VEs
Next Topic: *SOLVED* Disk quota exceeded
Goto Forum:
  


Current Time: Mon Jul 15 20:32:34 GMT 2024

Total time taken to generate the page: 0.02505 seconds