On 18/04/13 02:09, Avocato wrote:> <https://wiki.toolserver.org/view/Submit.toolserver.org#resource_definition@script>
> Hello all. I use this way
> for running crons. I make a file named /something.sh /for example,
> encluding the following:
>
> /#!/bin/sh
> #$ -j y> python anyscript.py/
> #$ -o /dev/null
> cd pywikipedia
>> /00 21 * * * cronsub -s something % sh $HOME/something.sh/
> Then, I put a cron like:
>Remove the -s flag of cronsub. It is giving qsub the parameters -j y -o
> 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?
$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