*SOLVED* vzctl restart from crontab [message #14612] |
Tue, 03 July 2007 12:58 |
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
|
|
|