Hello,

I have some troubles with a script I run on hu.wikipedia.

I have created a script, which name is LienHu.sh and content is

#-*- coding: utf-8 -*-
#!/usr/bin/python
python /home/hercule/template.py "Ideig" "Ideig/Automatikus törlés"
-cat:"Lapok láthatatlanná vált ideig sablonnal" -summary:"Bot: {{Ideig}}
sablonhívás törlése a cikk létrehozása következtében" -assubst -pt:0
-lang:hu -always
python /home/hercule/template.py "Linkiw" "Linkiw/Automatikus törlés"
-cat:"Lapok láthatatlanná vált linkiw sablonnal" -summary:"Bot: {{Linkiw}}
sablonhívás törlése a cikk létrehozása következtében" -assubst -pt:0
-lang:hu -always
python /home/hercule/template.py "Piroslink" "Piroslink/Automatikus
lecserélés" -cat:"Lapok felesleges piroslink sablonnal" -summary:"Bot:
{{Piroslink}} sablonhívás lecserélése a cikk létrehozása következtében"
-assubst -lang:hu -always
python /home/hercule/template.py "Piroslink*" "Piroslink*/Automatikus
lecserélés" -cat:"Lapok felesleges piroslink sablonnal" -summary:"Bot:
{{Piroslink*}} sablonhívás lecserélése a cikk létrehozása következtében"
-assubst -lang:hu -always

This file is encoded in UTF-8

When I run the command line

./LienHu.sh in my folder I have a correct execution (see
http://hu.wikipedia.org/w/index.php?title=Szerkeszt%C5%91:Oliv0&diff=12370416&oldid=12370415
 )

But when I run it with cronie :

9 8 * * * newtask -p batch /home/hercule/batch/LienHu.sh

There are problems with text encoding (see
http://hu.wikipedia.org/w/index.php?title=Szerkeszt%C5%91:Oliv0&diff=12370388&oldid=12370384
 )

I need help to solve this file encoding problem.

Regards

Antoine alias Hercule
_______________________________________________
Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list: 
https://wiki.toolserver.org/view/Mailing_list_etiquette

Reply via email to