Hello,
I deleted one of my script, and try to recreate it. But I now have an encoding issue when I run it with SGE. I searched a solution during all this evening and can't find any idea to solve it. I hope one of you will be able to help me.
I created the file /home/hercule/batch/LienFr.sh with this content :
#-*- coding: utf-8 -*- #!bin/bash #! /usr/bin/python #$ -l h_rt=1:30:00 #$ -l virtual_free=500M #$ -l arch='*' #$ -m as #$ -o /home/hercule/logs/LienFr.log #$ -j y #$ -wd /home/hercule/ python /home/hercule/template.py "Lien" "Lien/Conversion automatique" -cat:"Page utilisant Lien pour un article existant" -summary:"[Bot] : transformation de liens avec le modèle {{Lien}} en lien interne, suite à la création de l'article correspondant" -assubst -pt:0 -always mutt -s "Fin de LienFr" hercule < /home/hercule/logs/LienFr.log
When I simply run /home/hercule/batch/LienFr.sh in the terminal the result is correct : http://fr.wikipedia.org/w/index.php?title=Uttar_Pradesh&diff=93370887&am...
But when I use the command line qcronsub -N LienFr /home/hercule/batch/LienFr.sh
I have a problem with the summary :
http://fr.wikipedia.org/w/index.php?title=Uttar_Pradesh&diff=93370948&am...
Do you know how to solve this ?
Regards
Hercule