Hello all. I use this wayhttps://wiki.toolserver.org/view/Submit.toolserver.org#resource_definition@scriptfor 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?
What outputs are you refering to because there is diffrent ways to handle them. On Apr 17, 2013 7:09 PM, "Avocato" avocatomail@gmail.com wrote:
Hello all. I use this wayhttps://wiki.toolserver.org/view/Submit.toolserver.org#resource_definition@scriptfor 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? -- *User:Avocato--*
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
I mean this files which are always automatically created when I run my crons. I find it in my home folder.
2013/4/18 Patricia Pintilie pintilieempire@gmail.com
What outputs are you refering to because there is diffrent ways to handle them. On Apr 17, 2013 7:09 PM, "Avocato" avocatomail@gmail.com wrote:
Hello all. I use this wayhttps://wiki.toolserver.org/view/Submit.toolserver.org#resource_definition@scriptfor 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? -- *User:Avocato--*
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
Are u able to create new folders in home? On Apr 17, 2013 7:18 PM, "Avocato" avocatomail@gmail.com wrote:
I mean this files which are always automatically created when I run my crons. I find it in my home folder.
2013/4/18 Patricia Pintilie pintilieempire@gmail.com
What outputs are you refering to because there is diffrent ways to handle them. On Apr 17, 2013 7:09 PM, "Avocato" avocatomail@gmail.com wrote:
Hello all. I use this wayhttps://wiki.toolserver.org/view/Submit.toolserver.org#resource_definition@scriptfor 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? -- *User:Avocato--*
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
-- *User:Avocato--*
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
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
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@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@s...
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
toolserver-l@lists.wikimedia.org