SCIENTIFIC-LINUX-USERS Archives

July 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
carlopmart <[log in to unmask]>
Reply To:
carlopmart <[log in to unmask]>
Date:
Mon, 25 Jul 2011 20:26:15 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
On 07/25/2011 08:17 PM, Bluejay Adametz wrote:
>>>   I have configured a cron task to start certain virtual machines when kvm
>>> host starts at a certain runlevel (3 or 4). My script:
>
>>    @reboot     root    /root/bin/launch_vms
>
> What's the advantage of using cron to do this vs. an init script? It
> never occurred to me to use cron for this, so I'm curious why one vs.
> the other.
>
>                                                           - Bluejay Adametz

In my environment, I need to start vmfw01 before vmfw02. Yes, I can do 
it with an init script using sleep in my shell script (like I do it), 
but I need console prompt as soon as possible.



-- 
CL Martinez
carlopmart {at} gmail {d0t} com

ATOM RSS1 RSS2