Changeset 53759 in spip-zone for _acotes_


Ignore:
Timestamp:
Oct 26, 2011, 9:35:30 PM (7 years ago)
Author:
ben.spip@…
Message:

ajustements pour la nouvelle maison d'edgard

Location:
_acotes_/irc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _acotes_/irc/Edgard.ksh

    r27403 r53759  
    11#!/bin/bash
    2 export PERL5LIB=/var/www/virtual/edgard.spip.org/htdocs/irc:$PERL5LIB
     2export PERL5LIB=/var/www/edgard.spip.org/irc:$PERL5LIB
    33echo "-----------------------------------------------------------------"
    44date
     
    66echo "Perl5LIB:"
    77echo $PERL5LIB
    8 ps -e | grep "Edgard.pl"
    9 ps -e | grep "Edgard.pl"| perl -pe "s#^ ##g"|perl -pe "s#^ ##"| cut -d" " -f1 | xargs kill -9
    10 
    11 ps -e | grep "Edgard.pl"
    12 ps -e | grep "Edgard.pl"| perl -pe "s#^ ##g"|perl -pe "s#^ ##"| cut -d" " -f1 | xargs kill -9
     8ps -e | grep "Edgard.pl"| cut -d" " -f2 | xargs kill -9
     9ps -e | grep "Edgard.pl"| cut -d" " -f2 | xargs kill -9
     10ps -e | grep "Edgard.pl"| cut -d" " -f2 | xargs kill -9
    1311
    1412date
    1513echo "dormons 1 minute"
    16 sleep 60
     14sleep 10
    1715echo "allez edgard c est l heure d aller au boulot "
    18 /var/www/virtual/edgard.spip.org/htdocs/irc/Edgard.pl
     16/var/www/edgard.spip.org/irc/Edgard.pl
  • _acotes_/irc/Edgard.pl

    r50695 r53759  
    44use warnings;
    55
    6 my $URL="http://edgard.spip.org/spip.php?page=edgard&var_mode=recalcul";
    7 my $URL2="http://edgard.spip.org/spip.php?page=mafaq&var_mode=recalcul";
     6my $base="http://edgard.spip.org";
     7
     8my $URL="$base/spip.php?page=edgard&var_mode=recalcul";
     9my $URL2="$base/spip.php?page=mafaq&var_mode=recalcul";
    810my $nick = 'Edgard';
    911
     
    2931
    3032
    31 my $FICHIER_WIKI="/var/www/virtual/edgard.spip.org/htdocs/tmp/edgard.txt";
     33my $FICHIER_WIKI="/var/www/edgard.spip.org/public_html/tmp/edgard.txt";
    3234 
    3335
Note: See TracChangeset for help on using the changeset viewer.