It doesn't work! my crons still make output files.
*"By the way, cronsub is deprecated in favor of qcronsub"*
I didn't understand this, how could I use qcronsub instead of my way?
2013/4/18 Platonides <platonides(a)gmail.com>
On 18/04/13 02:09, Avocato wrote:
Hello all. I use this way
<
https://wiki.toolserver.org/view/Submit.toolserver.org#resource_definition@…
for running crons. I make a file named /something.sh /for example,
encluding the following:
/#!/bin/sh
#$ -j y
#$ -o /dev/null
cd pywikipedia
python anyscript.py/
Then, I put a cron like:
/00 21 * * * cronsub -s something % sh $HOME/something.sh/
The problem is that I want my crons to stop producing output files at
"home" folder inside my account, I don't want it to produce outputs at
all. How can I do that?
Remove the -s flag of cronsub. It is giving qsub the parameters -j y -o
$HOME/${JOBNAME}.out and it seems to be overriding the script ones.
So you would put just
/00 21 * * * cronsub something % sh $HOME/something.sh/
By the way, cronsub is deprecated in favor of qcronsub
Cheers
_______________________________________________
Toolserver-l mailing list (Toolserver-l(a)lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Posting guidelines for this list:
https://wiki.toolserver.org/view/Mailing_list_etiquette