[Toolserver-l] Mail with Unable to read script file because of error: no input read from stdin
Hello, I often get e-mails with the following content since a few weeks: - Subject: Cron aka@hawthorn cronsub -s $cronname Body: Unable to read script file because of error: no input read from stdin - Is there anything I can do to prevent these e-mails? Regards, André (aka) ___ 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
Re: [Toolserver-l] Anoter SGE question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello nosy! Thanks for your reply! It is this one: 0 1 * * * qcronsub -l h_rt=06:00:00 -l virtual_free=200M -m as -j y -b y -N subster_en $HOME/pywikipedia/bot_control.py -subster -cron - -lang:en /dev/null Greetings DrTrigon On 15.06.2012 17:51, Marlen Caemmerer wrote: Hello, which one is it exactly? Cheers nosy On Fri, 15 Jun 2012, Dr. Trigon wrote: Date: Fri, 15 Jun 2012 10:57:43 From: Dr. Trigon dr.tri...@surfeu.ch Reply-To: toolserver-l@lists.wikimedia.org To: Toolserver-l@lists.wikimedia.org Subject: [Toolserver-l] Anoter SGE question Hello all! I have a bunch of cronie jobs calling qcronsub for several times with very similar settings (just the language of the wiki used changes). In total there are 5 jobs - regurarly (about ever 2nd day) one of those jobs does not get executed and it is always the same one. I do not get any error mail. Any idea? Thanks a lot and greetings DrTrigon ___ 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 ___ 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/c+6YACgkQAXWvBxzBrDBZsQCfbnzJDBuAdzannKaKuOd/ahMp 2vwAn0puU1CqkpxyDaEVExbY+r1OA6KP =Rxma -END PGP SIGNATURE- ___ 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
Re: [Toolserver-l] Anoter SGE question
All jobs named subster_en were executed successfully by sge (mostly on wolfsbane). The return code of your python script was 0, but the runtime was only about a minute. You can check it by executing e.g. qacct -j subster_en -d 10 So you should check your log files ~drtrigon/subster_en.o2160088, ~drtrigon/subster_en.o2156743, if something is wrong with your python script. For your other questions: stderr and stdout are buffered by sge because they are send over network. At the toolserver configuration it is send to localhost by default because all execution servers have the same filesystems mounted. At a standard cluster configuration out/err files are written on submit host instead. Merlissimo PS:: qcronsub does not output anything if the job was submitted succesfully and all resources are requested correctly. So no need to send the output to /dev/null. On 16.06.2012 23:33, Dr. Trigon wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello nosy! Thanks for your reply! It is this one: 0 1 * * * qcronsub -l h_rt=06:00:00 -l virtual_free=200M -m as -j y -b y -N subster_en $HOME/pywikipedia/bot_control.py -subster -cron - -lang:en/dev/null Greetings DrTrigon On 15.06.2012 17:51, Marlen Caemmerer wrote: Hello, which one is it exactly? Cheers nosy On Fri, 15 Jun 2012, Dr. Trigon wrote: Date: Fri, 15 Jun 2012 10:57:43 From: Dr. Trigon dr.tri...@surfeu.ch Reply-To: toolserver-l@lists.wikimedia.org To: Toolserver-l@lists.wikimedia.org Subject: [Toolserver-l] Anoter SGE question Hello all! I have a bunch of cronie jobs calling qcronsub for several times with very similar settings (just the language of the wiki used changes). In total there are 5 jobs - regurarly (about ever 2nd day) one of those jobs does not get executed and it is always the same one. I do not get any error mail. Any idea? Thanks a lot and greetings DrTrigon ___ 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
Re: [Toolserver-l] Anoter SGE question
On 16/06/12 23:33, Dr. Trigon wrote: I have a bunch of cronie jobs calling qcronsub for several times with very similar settings (just the language of the wiki used changes). In total there are 5 jobs - regurarly (about ever 2nd day) one of those jobs does not get executed and it is always the same one. I do not get any error mail. Any idea? Is it by chance your last cron entry? Remember that there must be a newline finalising your crontab or the last command won't get executed. You should get this output: $ crontab -l | tail -c1 | od -c 000 \n 001 ___ 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