On 18/04/13 02:09, Avocato wrote:
> Hello all. I use this way
> <https://wiki.toolserver.org/view/Submit.toolserver.org#resource_definition@script>
> 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@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