[Pharo-project] Name spaces

Casimiro de Almeida Barreto casimiro.barreto at gmail.com
Fri May 20 17:34:27 EDT 2011


Em 20-05-2011 14:18, Stéphane Ducasse escreveu:
> ah tradition are so good.
> May be we should have a cron job for these topics :)
>
> Stef
(...)
Yeah. Let's assume something like that:

    #/bin/bash

    if [ $# -lt 2 ]
    then
      echo $0 "Wrong number of parameters. Plz, specify rant/bragging"
    else
      /usr/local/bin/restartOldDiscussion -topic $1 &
      PID=$!
      if [ $PID != "" ]
      then
        sleep `expr 3600 \* 24 \* 5`
        kill -KILL $PID
      fi
    fi


That would limit "periodic discussions" to 5 days (top)...
(sorry, couldn't resist)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20110520/044d1e11/attachment.html>


More information about the Pharo-dev mailing list