help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to copy, alert and shellcommand


From: Mark . Burgess
Subject: Re: How to copy, alert and shellcommand
Date: Fri, 27 Aug 2004 09:21:54 +0200 (MEST)


On 27 Aug, Anton Krall wrote:
> Guys, I want to copy a file, then run an alert that would send an email
> saying when it got copyied and then run a shell command, what do I need to
> structure this?
>  
> Thx for any advice:
>  
> Anton Krall


control:

 actionsequence = ( copy shellcommands )

 AddInstallables = ( blah )

copy:

  from dest=to define=blah

shellcommands:

  blah::

     "/bin/runme balbla"

alerts:

  blah::

    "I was copied"



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]